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:03:47 +08:00
committed by GitHub
parent b903a14304
commit e3c0586b10

View File

@@ -127,16 +127,8 @@ jobs:
sudo apt update
sudo apt install -y gh
# 登录 GitHub CLI
- name: Authenticate GitHub CLI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: echo "${GITHUB_TOKEN}" | gh auth login --with-token
# 创建或更新 Release
- name: Create or update Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
RELEASE_NAME=${{ github.ref_name }}
RELEASE_BODY="This release is automatically updated from the ${RELEASE_NAME} branch."
@@ -160,8 +152,6 @@ jobs:
# 上传多个文件并覆盖
- name: Upload assets to Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
RELEASE_NAME=${{ github.ref_name }}