Skip to content

Commit 2b316c2

Browse files
committed
ci: update release workflow
1 parent 911b16f commit 2b316c2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/releases.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- name: Checkout repo
14+
uses: actions/checkout@v3
1415

15-
- name: conventional Changelog Action
16+
- name: Changelog + Version update
1617
id: changelog
17-
uses: TriPSs/conventional-changelog-action@v3.7.1
18+
uses: TriPSs/conventional-changelog-action@v3
1819
with:
1920
github-token: ${{ secrets.PA_TOKEN }}
2021
version-file: './version.yaml'
2122

22-
- name: create release
23-
uses: actions/create-release@v1
24-
if: ${{ steps.changelog.outputs.skipped == 'false' }}
25-
env:
26-
GITHUB_TOKEN: ${{ secrets.PA_TOKEN }}
23+
- name: Create Release
24+
if: steps.changelog.outputs.skipped == 'false'
25+
uses: ncipollo/release-action@v1
2726
with:
28-
tag_name: ${{ steps.changelog.outputs.tag }}
29-
release_name: ${{ steps.changelog.outputs.tag }}
27+
token: ${{ secrets.PA_TOKEN }}
28+
tag : ${{ steps.changelog.outputs.tag }}
29+
name: ${{ steps.changelog.outputs.tag }}
3030
body: ${{ steps.changelog.outputs.clean_changelog }}

0 commit comments

Comments
 (0)