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 49bedcc commit 827aaf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v3
with:
submodules: true
token: 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 # 使用个人访问令牌替代默认的 GITHUB_TOKEN
token: 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 # 使用个人访问令牌替代默认的 GITHUB_TOKEN

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

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

0 comments on commit 827aaf0

Please sign in to comment.