mirror of
https://github.com/Xevion/rust-sdl2-emscripten.git
synced 2025-12-06 09:16:20 -06:00
prepare archive with DLLs on Windows build
This commit is contained in:
11
.github/workflows/windows.yaml
vendored
11
.github/workflows/windows.yaml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user