ci: udpated release.yml file

This commit is contained in:
Ritesh Ghosh
2023-08-02 21:57:58 +05:30
parent 6cc4db5460
commit e57973459a
+5 -7
View File
@@ -9,9 +9,8 @@ jobs:
steps: steps:
- name: Checkouts repo - name: Checkouts repo
uses: actions/checkout@v2 uses: actions/checkout@v3
# create release info and push it upstream
- name: Conventional changelog action - name: Conventional changelog action
id: changelog id: changelog
uses: TriPSs/conventional-changelog-action@v3 uses: TriPSs/conventional-changelog-action@v3
@@ -19,11 +18,10 @@ jobs:
github-token: ${{ secrets.CHANGELOG_SECRET }} github-token: ${{ secrets.CHANGELOG_SECRET }}
- name: Create release - name: Create release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }} if: ${{ steps.changelog.outputs.skipped == 'false' }}
env: uses: ncipollo/release-action@v1
GITHUB_TOKEN: ${{ secrets.CHANGELOG_SECRET }}
with: with:
tag_name: ${{ steps.changelog.outputs.tag }} token: ${{ secrets.CHANGELOG_SECRET }}
release_name: ${{ steps.changelog.outputs.tag }} tag: ${{ steps.changelog.outputs.tag }}
name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }} body: ${{ steps.changelog.outputs.clean_changelog }}