Bundle missing dll’s & tar linux archive (#180)

This commit is contained in:
David Chavez 2024-05-18 16:38:38 +02:00 committed by GitHub
parent 7e8782c114
commit 511fca8393
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,13 +82,12 @@ jobs:
run: | run: |
mv cmake-build/Zelda64Recompiled Zelda64Recompiled mv cmake-build/Zelda64Recompiled Zelda64Recompiled
rm -rf assets/scss rm -rf assets/scss
tar -czf Zelda64Recompiled-${{ runner.os }}-${{ matrix.type }}.tar.gz Zelda64Recompiled assets/
- name: Archive Zelda64Recomp - name: Archive Zelda64Recomp
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Zelda64Recompiled-${{ runner.os }}-${{ matrix.type }} name: Zelda64Recompiled-${{ runner.os }}-${{ matrix.type }}
path: | path: Zelda64Recompiled-${{ runner.os }}-${{ matrix.type }}.tar.gz
Zelda64Recompiled
assets/
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
strategy: strategy:
@ -145,6 +144,9 @@ jobs:
- name: Prepare Archive - name: Prepare Archive
run: | run: |
Move-Item -Path "cmake-build/Zelda64Recompiled.exe" -Destination "Zelda64Recompiled.exe" Move-Item -Path "cmake-build/Zelda64Recompiled.exe" -Destination "Zelda64Recompiled.exe"
Move-Item -Path "cmake-build/dxcompiler.dll" -Destination "dxcompiler.dll"
Move-Item -Path "cmake-build/dxil.dll" -Destination "dxil.dll"
Move-Item -Path "cmake-build/SDL2.dll" -Destination "SDL2.dll"
Remove-Item -Path "assets/scss" -Recurse -Force Remove-Item -Path "assets/scss" -Recurse -Force
- name: Archive Zelda64Recomp - name: Archive Zelda64Recomp
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@ -152,4 +154,7 @@ jobs:
name: Zelda64Recompiled-${{ runner.os }}-${{ matrix.type }} name: Zelda64Recompiled-${{ runner.os }}-${{ matrix.type }}
path: | path: |
Zelda64Recompiled.exe Zelda64Recompiled.exe
dxcompiler.dll
dxil.dll
SDL2.dll
assets/ assets/