From d5b6234d20b2a834dc5968ec83afdb5581b5b011 Mon Sep 17 00:00:00 2001 From: yinpeng <2291314224@qq.com> Date: Tue, 11 Feb 2025 02:17:30 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=9B=B4=E6=96=B0GitHub=20Actions?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E9=85=8D=E7=BD=AE=E5=92=8C=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E6=96=87=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 899b574..ae8bd0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,8 @@ on: jobs: release: + permissions: + contents: write # 添加写入权限 runs-on: ubuntu-latest steps: # Step 1: 检出代码库 @@ -36,6 +38,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./your-build-file.zip # 替换为你的构建文件路径 - asset_name: your-build-file.zip # 替换为你的文件名 + asset_path: ./gemini-balance.zip # 替换为你的构建文件路径 + asset_name: gemini-balance.zip # 替换为你的文件名 asset_content_type: application/zip \ No newline at end of file