diff options
| author | Ritesh Ghosh <[email protected]> | 2023-08-02 21:57:58 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-08-02 21:57:58 +0530 |
| commit | e57973459a5812a3d7688ea4b4c06b030df7ea70 (patch) | |
| tree | 21325091edefe9da7ea6068b505305c67ff46ccd /.github/workflows/release.yml | |
| parent | 6cc4db5460b15b449e2685229cf71aa1773ad86c (diff) | |
| download | aniwatch-api-e57973459a5812a3d7688ea4b4c06b030df7ea70.tar.xz aniwatch-api-e57973459a5812a3d7688ea4b4c06b030df7ea70.zip | |
ci: udpated release.yml file
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 12 |
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 }} |
