fix create-release workflow

This commit is contained in:
Guillem Castro 2024-05-13 23:24:40 +02:00
parent 211fe59beb
commit 61d6268524

View file

@ -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] <github-actions[bot]@users.noreply.github.com>"
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 }}"