mirror of
https://github.com/Xevion/rust-sdl2-emscripten.git
synced 2025-12-07 09:16:22 -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
|
- name: Build
|
||||||
run: cargo build --release
|
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
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./target/release/pacman.exe
|
name: windows
|
||||||
|
path: ./release/
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
Reference in New Issue
Block a user