github actions: windows fix + another attempt at zipping on macos

This commit is contained in:
barbudreadmon 2022-01-10 19:54:06 +01:00
parent cea5abb0b5
commit 2d2b9805d4
1 changed files with 7 additions and 3 deletions

View File

@ -71,8 +71,9 @@ jobs:
fbneo
- name: Build release assets
# On windows, if you tell zip about both fbneo and fbneo.exe, it seems he'll compress fbneo.exe twice under the 2 different names, so don't use .exe here
run: |
zip --junk-paths "${{ matrix.platform.name }}.zip" fbneo.exe fbneod.exe fbneo src/license.txt fbahelpfilesrc/fbneo.chm whatsnew.html
zip --junk-paths "${{ matrix.platform.name }}.zip" fbneo fbneod src/license.txt fbahelpfilesrc/fbneo.chm whatsnew.html
- name: Upload release assets
uses: actions/upload-release-asset@v1
@ -106,8 +107,11 @@ jobs:
path: "projectfiles/xcode/build/Debug/FinalBurn Neo.app"
- name: Build release assets
run: |
zip --junk-paths "macOS.zip" "projectfiles/xcode/build/Debug/FinalBurn Neo.app" src/license.txt fbahelpfilesrc/fbneo.chm whatsnew.html
uses: papeloto/action-zip@v1
with:
files: "projectfiles/xcode/build/Debug/FinalBurn Neo.app" src/license.txt fbahelpfilesrc/fbneo.chm whatsnew.html
recursive: false
dest: macOS.zip
- name: Upload release assets
uses: actions/upload-release-asset@v1