diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8786ca7..b95f001 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,15 @@ jobs: toolchain: stable override: true - - name: Publish to crates.io + - name: Publish injectorpp-macros to crates.io + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} + run: cargo publish --locked --package injectorpp-macros + + - name: Wait for crates.io index update + run: sleep 30 + + - name: Publish injectorpp to crates.io env: CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} run: cargo publish --locked diff --git a/Cargo.toml b/Cargo.toml index 161fb4c..1f8f4f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ description = "Injectorpp is a powerful tool designed to facilitate the writing [dependencies] libc = "0.2" -injectorpp-macros = { path = "injectorpp-macros" } +injectorpp-macros = { path = "injectorpp-macros", version = "0.5.1" } [target.'cfg(target_os = "macos")'.dependencies] mach2 = "0.5"