From e3c0586b1038ba78feccc549e4d497d9dd409a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Sun, 15 Dec 2024 20:03:47 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24eb764c88..98017151b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}