Skip to content

Commit 5599335

Browse files
Zip windows artifacts
1 parent 98acd51 commit 5599335

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/push.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
with:
142142
msystem: CLANG64
143143
update: true
144-
install: git mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-cjson mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-opencl-icd
144+
install: git zip mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-cjson mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-opencl-icd
145145

146146
- name: print msys version
147147
run: uname -a
@@ -188,14 +188,14 @@ jobs:
188188
- name: run tests
189189
run: ctest
190190

191+
- name: create zip archive
192+
run: zip fastfetch-windows.zip *.dll fastfetch.exe flashfetch.exe
193+
191194
- name: upload artifacts
192195
uses: actions/upload-artifact@v3
193196
with:
194197
name: fastfetch-windows
195-
path: |
196-
./*.dll
197-
./fastfetch.exe
198-
./flashfetch.exe
198+
path: ./fastfetch-windows.zip
199199

200200
windows-old:
201201
name: Windows-old
@@ -215,7 +215,7 @@ jobs:
215215
with:
216216
msystem: MINGW64
217217
update: true
218-
install: git mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-cjson mingw-w64-x86_64-vulkan-loader mingw-w64-x86_64-opencl-icd
218+
install: git zip mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-cjson mingw-w64-x86_64-vulkan-loader mingw-w64-x86_64-opencl-icd
219219

220220
- name: print msys version
221221
run: uname -a
@@ -262,14 +262,14 @@ jobs:
262262
- name: run tests
263263
run: ctest
264264

265+
- name: create zip archive
266+
run: zip fastfetch-windows-old.zip *.dll fastfetch.exe flashfetch.exe
267+
265268
- name: upload artifacts
266269
uses: actions/upload-artifact@v3
267270
with:
268271
name: fastfetch-windows-old
269-
path: |
270-
./*.dll
271-
./fastfetch.exe
272-
./flashfetch.exe
272+
path: ./fastfetch-windows-old.zip
273273

274274
release:
275275
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'LinusDierheimer/fastfetch'

0 commit comments

Comments
 (0)