mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-06-03 06:39:56 +08:00
build: 更新发布流程并移除 release-drafter 配置
- 删除了 release-drafter.yml 文件,不再使用 release-drafter 自动生成发布说明 - 更新了 release.yml 工作流,移除了自动填充发布说明的步骤 - 保留了创建 ZIP 文件和上传构建文件的步骤,但标记为可选
This commit is contained in:
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -37,22 +37,21 @@ jobs:
|
||||
with:
|
||||
tag_name: ${{ github.ref_name }}
|
||||
release_name: ${{ github.ref_name }}
|
||||
body: ${{ steps.release-drafter.outputs.body }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
# Step 4: 构建zip文件
|
||||
# Step 3: 可选,构建zip文件
|
||||
- name: Create ZIP file
|
||||
run: |
|
||||
zip -r gemini-balance.zip . -x "*.git*" "*.github*" "*.env*" "logs/*" "tests/*"
|
||||
|
||||
# Step 5: 上传构建文件
|
||||
# Step 4: 可选,上传构建文件
|
||||
- name: Upload Release Asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./gemini-balance.zip
|
||||
asset_name: gemini-balance.zip
|
||||
asset_path: ./gemini-balance.zip # 替换为你的构建文件路径
|
||||
asset_name: gemini-balance.zip # 替换为你的文件名
|
||||
asset_content_type: application/zip
|
||||
|
||||
Reference in New Issue
Block a user