Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxi authored Dec 15, 2024
1 parent e3c0586 commit 87da35c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ jobs:
# 创建或更新 Release
- name: Create or update Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 设置 GH_TOKEN 环境变量
run: |
RELEASE_NAME=${{ github.ref_name }}
RELEASE_BODY="This release is automatically updated from the ${RELEASE_NAME} branch."
Expand All @@ -152,6 +154,8 @@ jobs:
# 上传多个文件并覆盖
- name: Upload assets to Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 设置 GH_TOKEN 环境变量
run: |
RELEASE_NAME=${{ github.ref_name }}
Expand Down

0 comments on commit 87da35c

Please sign in to comment.