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