Merge pull request #690 from thecodacus/update-stable-workflow

fix: the creds issue in workflow
This commit is contained in:
Anirban Kar 2024-12-13 14:34:54 +05:30 committed by GitHub
commit 91ec049b72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,10 +15,7 @@ jobs:
pull-requests: read pull-requests: read
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure Git - name: Configure Git
run: | run: |
@ -178,12 +175,12 @@ jobs:
git tag -a "$VERSION" -m "Release $VERSION" git tag -a "$VERSION" -m "Release $VERSION"
git push origin "$VERSION" git push origin "$VERSION"
- name: Create GitHub Release # - name: Create GitHub Release
env: # env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | # run: |
VERSION="v${{ steps.bump_version.outputs.new_version }}" # VERSION="v${{ steps.bump_version.outputs.new_version }}"
gh release create "$VERSION" \ # gh release create "$VERSION" \
--title "Release $VERSION" \ # --title "Release $VERSION" \
--notes "${{ steps.changelog.outputs.content }}" \ # --notes "${{ steps.changelog.outputs.content }}" \
--target stable # --target stable