Skip to content

Commit 06da065

Browse files
committed
减小打包层次
1 parent 4bb37fa commit 06da065

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,31 +73,41 @@ jobs:
7373
- name: Display structure of downloaded files
7474
run: ls -R
7575
- name: zip win32-x64
76-
uses: TheDoctor0/zip-release@v0.2.1
76+
uses: TheDoctor0/zip-release@v0.6.1
7777
with:
7878
filename: win32-x64.zip
79-
path: win32-x64/*
79+
directory: win32-x64
80+
path: |
81+
EasyHook.dll
82+
emmy_core.dll
83+
emmy_hook.dll
84+
emmy_tool.exe
8085
8186
- name: zip win32-x86
82-
uses: TheDoctor0/zip-release@v0.2.1
87+
uses: TheDoctor0/zip-release@v0.6.1
8388
with:
8489
filename: win32-x86.zip
85-
path: win32-x86/*
90+
directory: win32-x86
91+
path: |
92+
EasyHook.dll
93+
emmy_core.dll
94+
emmy_hook.dll
95+
emmy_tool.exe
8696
- name: zip linux-x64
87-
uses: TheDoctor0/zip-release@v0.2.1
97+
uses: TheDoctor0/zip-release@v0.6.1
8898
with:
8999
filename: linux-x64.zip
90-
path: linux-x64/*
100+
path: linux-x64/emmy_core.so
91101
- name: zip darwin-x64
92-
uses: TheDoctor0/zip-release@v0.2.1
102+
uses: TheDoctor0/zip-release@v0.6.1
93103
with:
94104
filename: darwin-x64.zip
95-
path: darwin-x64/*
105+
path: darwin-x64/emmy_core.dylib
96106
- name: zip darwin-arm64
97-
uses: TheDoctor0/zip-release@v0.2.1
107+
uses: TheDoctor0/zip-release@v0.6.1
98108
with:
99109
filename: darwin-arm64.zip
100-
path: darwin-arm64/*
110+
path: darwin-arm64/emmy_core.dylib
101111
- name: Release
102112
uses: softprops/action-gh-release@v1
103113
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)