ZhaoShanGeng
commited on
Commit
·
b8044d3
1
Parent(s):
1560bc2
fix: 修复 artifact 重复压缩问题
Browse files
.github/workflows/build-binaries.yml
CHANGED
|
@@ -80,12 +80,13 @@ jobs:
|
|
| 80 |
tar -czvf ../${{ matrix.asset_name }} *
|
| 81 |
shell: bash
|
| 82 |
|
| 83 |
-
- name: Upload artifact
|
| 84 |
uses: actions/upload-artifact@v4
|
| 85 |
with:
|
| 86 |
name: ${{ matrix.artifact_name }}
|
| 87 |
path: ${{ matrix.asset_name }}
|
| 88 |
retention-days: 30
|
|
|
|
| 89 |
|
| 90 |
release:
|
| 91 |
needs: build
|
|
|
|
| 80 |
tar -czvf ../${{ matrix.asset_name }} *
|
| 81 |
shell: bash
|
| 82 |
|
| 83 |
+
- name: Upload artifact (compressed archive for release)
|
| 84 |
uses: actions/upload-artifact@v4
|
| 85 |
with:
|
| 86 |
name: ${{ matrix.artifact_name }}
|
| 87 |
path: ${{ matrix.asset_name }}
|
| 88 |
retention-days: 30
|
| 89 |
+
compression-level: 0 # 不再压缩,因为文件已经是压缩包
|
| 90 |
|
| 91 |
release:
|
| 92 |
needs: build
|