diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0178d6c..2fb6d92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,3 @@ -# Adapted from https://github.com/joshka/github-workflows/blob/main/.github/workflows/rust-release-plz.yml -# Thanks to joshka for permission to use this template! - name: Create release permissions: @@ -99,11 +96,9 @@ jobs: run: | git push origin --follow-tags - release-plz: - # see https://release-plz.ieni.dev/docs/github - # for more information + release-crate: needs: bump - name: Release-plz + name: Release Crate runs-on: ubuntu-latest steps: - name: Check if actor is repository owner @@ -118,11 +113,6 @@ jobs: fetch-depth: 0 - name: Install Rust stable uses: dtolnay/rust-toolchain@stable - - name: Run release-plz - uses: MarcoIeni/release-plz-action@v0.5 + - uses: katyo/publish-crates@v2 with: - command: release - tag_name: ${{ env.VERSION }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}