aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ffb4fef..bb016f1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -9,9 +9,8 @@ jobs:
steps:
- name: Checkouts repo
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- # create release info and push it upstream
- name: Conventional changelog action
id: changelog
uses: TriPSs/conventional-changelog-action@v3
@@ -19,11 +18,10 @@ jobs:
github-token: ${{ secrets.CHANGELOG_SECRET }}
- name: Create release
- uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
- env:
- GITHUB_TOKEN: ${{ secrets.CHANGELOG_SECRET }}
+ uses: ncipollo/release-action@v1
with:
- tag_name: ${{ steps.changelog.outputs.tag }}
- release_name: ${{ steps.changelog.outputs.tag }}
+ token: ${{ secrets.CHANGELOG_SECRET }}
+ tag: ${{ steps.changelog.outputs.tag }}
+ name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}