mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-06 14:52:50 +08:00
Update ci.yml
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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."
|
||||
@@ -152,6 +154,8 @@ jobs:
|
||||
|
||||
# 上传多个文件并覆盖
|
||||
- name: Upload assets to Release
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 设置 GH_TOKEN 环境变量
|
||||
run: |
|
||||
RELEASE_NAME=${{ github.ref_name }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user