Skip to content

Commit

Permalink
chore: Update GitHub token in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HashCookie committed May 26, 2024
1 parent 63b0403 commit d17deef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: 发布 ${{ github.ref }}
Expand All @@ -69,7 +69,7 @@ jobs:
- name: 上传发布资源
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/
Expand Down

0 comments on commit d17deef

Please sign in to comment.