mirror of
https://github.com/GuillemCastro/spotify-dl.git
synced 2024-11-24 02:50:27 +01:00
fix create-release workflow
This commit is contained in:
parent
211fe59beb
commit
61d6268524
1 changed files with 4 additions and 7 deletions
11
.github/workflows/create-release.yml
vendored
11
.github/workflows/create-release.yml
vendored
|
@ -20,23 +20,20 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Bump version
|
- name: Bump version
|
||||||
|
id: cargo-bump
|
||||||
uses: tj-actions/cargo-bump@v3
|
uses: tj-actions/cargo-bump@v3
|
||||||
with:
|
with:
|
||||||
release_type: ${{ github.event.inputs.release_type }}
|
release_type: ${{ github.event.inputs.release_type }}
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
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_name: "github-actions[bot]"
|
||||||
commit_user_email: "github-actions[bot]@users.noreply.github.com"
|
commit_user_email: "github-actions[bot]@users.noreply.github.com"
|
||||||
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
||||||
branch: master
|
branch: master
|
||||||
create-tag:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: bump-version
|
|
||||||
steps:
|
|
||||||
- name: Create tag
|
- name: Create tag
|
||||||
uses: rickstaa/action-create-tag@v1
|
uses: rickstaa/action-create-tag@v1
|
||||||
with:
|
with:
|
||||||
tag: v${{ steps.bump-version.outputs.new_version }}
|
tag: v${{ steps.cargo-bump.outputs.new_version }}
|
||||||
message: "Bump version to v${{ steps.bump-version.outputs.new_version }}"
|
message: "Bump version to v${{ steps.cargo-bump.outputs.new_version }}"
|
||||||
|
|
Loading…
Reference in a new issue