From 87da35ca4c76765fe85f461567a3d731f00d776f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Sun, 15 Dec 2024 20:15:01 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9801715..2bec70b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}