Skip to content

Commit 1a5acd9

Browse files
committed
减小打包层次
1 parent bb2285c commit 1a5acd9

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,20 @@ jobs:
9797
uses: TheDoctor0/zip-release@master
9898
with:
9999
filename: linux-x64.zip
100-
path: linux-x64/emmy_core.so
100+
directory: linux-x64
101+
path: emmy_core.so
101102
- name: zip darwin-x64
102103
uses: TheDoctor0/zip-release@master
103104
with:
104105
filename: darwin-x64.zip
105-
path: darwin-x64/emmy_core.dylib
106+
directory: darwin-x64
107+
path: emmy_core.dylib
106108
- name: zip darwin-arm64
107109
uses: TheDoctor0/zip-release@master
108110
with:
109111
filename: darwin-arm64.zip
110-
path: darwin-arm64/emmy_core.dylib
112+
directory: darwin-arm64
113+
path: emmy_core.dylib
111114
- name: Release
112115
uses: softprops/action-gh-release@v1
113116
if: startsWith(github.ref, 'refs/tags/')
@@ -116,9 +119,9 @@ jobs:
116119
draft: false
117120
generate_release_notes: true
118121
files: |
119-
win32-x64.zip
120-
win32-x86.zip
121-
darwin-arm64.zip
122-
darwin-x64.zip
123-
linux-x64.zip
122+
win32-x64/win32-x64.zip
123+
win32-x86/win32-x86.zip
124+
darwin-arm64/darwin-arm64.zip
125+
darwin-x64/darwin-x64.zip
126+
linux-x64/linux-x64.zip
124127
token: ${{ secrets.RELEASE }}

0 commit comments

Comments
 (0)