diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 06bf065..571a9eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,12 +53,6 @@ jobs: run: | sudo apt-get -qq install musl-dev musl-tools pkg-config make - - name: Publish to creates.io - uses: katyo/publish-crates@v2 - with: - registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} - dry-run: true - - name: Build binary uses: houseabsolute/actions-rust-cross@v0 with: @@ -85,6 +79,20 @@ jobs: generate_release_notes: true append_body: true + publish-crate: + name: Publish crate to creates.io + needs: + - release + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Publish to creates.io + uses: katyo/publish-crates@v2 + with: + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} + dry-run: false + changelog: name: Generate CHANGELOG needs: