prepare archive with DLLs on Windows build

This commit is contained in:
2024-04-24 02:04:07 -05:00
parent 9f24519dcc
commit c56dcc64e8

View File

@@ -65,9 +65,18 @@ jobs:
- name: Build
run: cargo build --release
- name: Prepare Archive
run: |
mkdir ./release/
mv ./target/release/pacman.exe ./release/
mv ./SDL2.dll ./SDL2_image.dll ./SDL2_ttf.dll ./SDL2_mixer.dll ./SDL2_gfx.dll ./release/
mkdir ./release/assets/
mv ./assets/TerminalVector.ttf ./assets/tetris.ogg ./assets/fruit.png ./release/assets/
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
path: ./target/release/pacman.exe
name: windows
path: ./release/
retention-days: 7
if-no-files-found: error