Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hhhfsj authored Jul 14, 2024
1 parent 578d271 commit 7e8df4c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
submodules: true
token: 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 # 使用个人访问令牌替代默认的 GITHUB_TOKEN

- name: Archive source code
run: |
Expand All @@ -38,7 +39,7 @@ jobs:
Release notes for commit ${{ env.commit_id }}.
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}
token: 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 # 使用个人访问令牌替代默认的 GITHUB_TOKEN

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
Expand All @@ -47,4 +48,4 @@ jobs:
asset_path: ./source-code.zip
asset_name: source-code.zip
asset_content_type: application/zip
token: ${{ secrets.GITHUB_TOKEN }}
token: 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 # 使用个人访问令牌替代默认的 GITHUB_TOKEN

0 comments on commit 7e8df4c

Please sign in to comment.