mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-09-07 16:56:36 +08:00
ci: 更新GitHub Actions工作流配置和发布文件名
This commit is contained in:
@@ -7,6 +7,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
permissions:
|
||||||
|
contents: write # 添加写入权限
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# Step 1: 检出代码库
|
# Step 1: 检出代码库
|
||||||
@@ -36,6 +38,6 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ./your-build-file.zip # 替换为你的构建文件路径
|
asset_path: ./gemini-balance.zip # 替换为你的构建文件路径
|
||||||
asset_name: your-build-file.zip # 替换为你的文件名
|
asset_name: gemini-balance.zip # 替换为你的文件名
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
Reference in New Issue
Block a user