Skip to content

Commit

Permalink
减小打包层次
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Mar 14, 2022
1 parent bb2285c commit 1a5acd9
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,20 @@ jobs:
uses: TheDoctor0/zip-release@master
with:
filename: linux-x64.zip
path: linux-x64/emmy_core.so
directory: linux-x64
path: emmy_core.so
- name: zip darwin-x64
uses: TheDoctor0/zip-release@master
with:
filename: darwin-x64.zip
path: darwin-x64/emmy_core.dylib
directory: darwin-x64
path: emmy_core.dylib
- name: zip darwin-arm64
uses: TheDoctor0/zip-release@master
with:
filename: darwin-arm64.zip
path: darwin-arm64/emmy_core.dylib
directory: darwin-arm64
path: emmy_core.dylib
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -116,9 +119,9 @@ jobs:
draft: false
generate_release_notes: true
files: |
win32-x64.zip
win32-x86.zip
darwin-arm64.zip
darwin-x64.zip
linux-x64.zip
win32-x64/win32-x64.zip
win32-x86/win32-x86.zip
darwin-arm64/darwin-arm64.zip
darwin-x64/darwin-x64.zip
linux-x64/linux-x64.zip
token: ${{ secrets.RELEASE }}

0 comments on commit 1a5acd9

Please sign in to comment.