From 61d6268524734e7e99c866663a14656145639108 Mon Sep 17 00:00:00 2001 From: Guillem Castro Date: Mon, 13 May 2024 23:24:40 +0200 Subject: [PATCH] fix create-release workflow --- .github/workflows/create-release.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 62a43b7..de7bc69 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -20,23 +20,20 @@ jobs: steps: - uses: actions/checkout@v4 - name: Bump version + id: cargo-bump uses: tj-actions/cargo-bump@v3 with: release_type: ${{ github.event.inputs.release_type }} - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: "Bump version to v${{ steps.bump-version.outputs.new_version }}" + commit_message: "Bump version to v${{ steps.cargo-bump.outputs.new_version }}" commit_user_name: "github-actions[bot]" commit_user_email: "github-actions[bot]@users.noreply.github.com" commit_author: "github-actions[bot] " branch: master - create-tag: - runs-on: ubuntu-latest - needs: bump-version - steps: - name: Create tag uses: rickstaa/action-create-tag@v1 with: - tag: v${{ steps.bump-version.outputs.new_version }} - message: "Bump version to v${{ steps.bump-version.outputs.new_version }}" + tag: v${{ steps.cargo-bump.outputs.new_version }} + message: "Bump version to v${{ steps.cargo-bump.outputs.new_version }}"