From b9daa44b2fb896c6513471374cfbde0ea6865778 Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 23 Apr 2024 23:38:11 -0500 Subject: [PATCH] linux: add TTF/OGG assets to artifact archive --- .github/workflows/linux.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index e9acdfb..35f9b3f 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -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 \ No newline at end of file