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 }}"