mirror of
https://github.com/Xevion/rust-sdl2-emscripten.git
synced 2025-12-06 17:16:21 -06:00
linux: add TTF/OGG assets to artifact archive
This commit is contained in:
11
.github/workflows/linux.yaml
vendored
11
.github/workflows/linux.yaml
vendored
@@ -28,10 +28,19 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release
|
||||
|
||||
- name: Assemble Archive
|
||||
run: |
|
||||
mkdir /tmp/example/
|
||||
cp ./target/release/pacman /tmp/example/
|
||||
chmod a+x /tmp/example/pacman
|
||||
mkdir /tmp/example/assets
|
||||
cp ./assets/TerminalVector.ttf ./assets/tetris.ogg /tmp/example/assets
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: ./target/release/pacman
|
||||
name: "Linux Build"
|
||||
path: /tmp/example/
|
||||
retention-days: 7
|
||||
if-no-files-found: error
|
||||
Reference in New Issue
Block a user