Skip to content

Commit

Permalink
feat: 上传前增加zip压缩
Browse files Browse the repository at this point in the history
  • Loading branch information
fy0 authored Sep 7, 2023
1 parent 649406f commit 3288747
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,17 @@ jobs:
with:
name: sealdice-core_${{ env.PROJECT_VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}
path: .
- name: Archive Release
uses: thedoctor0/[email protected]
with:
type: 'zip'
path: sealdice-core_${{ env.PROJECT_VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}
filename: sealdice-core_${{ env.PROJECT_VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip
exclusions: '*.git* /*node_modules/* .editorconfig'
- name: Upload
uses: actions/upload-artifact@v3
with:
name: sealdice_${{ env.PROJECT_VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}
name: sealdice_${{ env.PROJECT_VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip
path: .

clear-temp-artifact:
Expand Down

0 comments on commit 3288747

Please sign in to comment.