From 8a5c7cbb639e8b67c3beff85d4fdc8ba929da3e9 Mon Sep 17 00:00:00 2001 From: containerscrew Date: Wed, 9 Oct 2024 14:54:38 +0200 Subject: [PATCH] Fix links with special characters --- .github/workflows/release.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) 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: