Skip to content

Commit

Permalink
fix release workflow with github token
Browse files Browse the repository at this point in the history
  • Loading branch information
giper45 committed Jul 31, 2024
1 parent f5cf4ae commit 292ca1a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,18 @@ jobs:
- name: Create GitHub release
uses: actions/create-release@v1
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ env.VERSION }}
release_name: Release ${{ env.VVERSION }}
release_name: Release ${{ env.VERSION }}
draft: false
prerelease: false

- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./tldr-pages.zip
Expand Down

0 comments on commit 292ca1a

Please sign in to comment.