try to fix create-release again [skip ci]

This commit is contained in:
Guillem Castro 2024-05-17 19:47:25 +02:00
parent 3325ec3ccd
commit e4807e6834

View file

@ -63,11 +63,6 @@ jobs:
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
- name: Create tag
uses: rickstaa/action-create-tag@v1
with:
tag: v${{ steps.cargo-bump.outputs.new_version }}
message: "Bump version to v${{ steps.cargo-bump.outputs.new_version }}"
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -78,13 +73,19 @@ jobs:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
ref: v${{ needs.bump-version.outputs.new_version }} ref: master
- name: Create tag
uses: rickstaa/action-create-tag@v1
with:
tag: v${{ needs.bump-version.outputs.new_version }}
message: "Bump version to v${{ needs.bump-version.outputs.new_version }}"
- name: Update CHANGELOG - name: Update CHANGELOG
id: changelog id: changelog
uses: requarks/changelog-action@v1 uses: requarks/changelog-action@v1
with: with:
token: ${{ github.token }} token: ${{ github.token }}
tag: v${{ needs.bump-version.outputs.new_version }} tag: v${{ needs.bump-version.outputs.new_version }}
includeInvalidCommits: true
- name: Create Release - name: Create Release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1
with: with: