1
0
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:
涵曦
2024-12-15 20:15:01 +08:00
committed by GitHub
parent e3c0586b10
commit 87da35ca4c

View File

@@ -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 }}