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 b903a14 commit e3c0586
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -160,8 +152,6 @@ jobs:
# 上传多个文件并覆盖
- name: Upload assets to Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
RELEASE_NAME=${{ github.ref_name }}
Expand Down

0 comments on commit e3c0586

Please sign in to comment.