Skip to content

Commit

Permalink
Authenticate for github cli
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenAR committed Jun 11, 2024
1 parent 81f8c29 commit f52a46b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
runs-on: ubuntu-latest
outputs:
new_tag: ${{ steps.bump_verson.outputs.tag }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -36,10 +38,15 @@ jobs:
- run: npm run build
- id: bump_verson
run: npm version ${{ inputs.version }} >> "$GITHUB_OUTPUT"
- run: git push --follow-tags
- run: |
git config user.name github-actions
git config user.email [email protected]
git push --follow-tags
github_release:
name: Create a release
runs-on: ubuntu-latest
needs: release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- run: gh release create ${{ needs.release.outputs.new_tag }} --draft --verify-tag

0 comments on commit f52a46b

Please sign in to comment.