split each binary into it's own upload step
/ build-dist (push) Successful in 1m21s Details

ci-dev
LeRoyce Pearson 2024-05-29 23:50:31 -06:00
parent 3d01e0e7e0
commit a47d3a56e0
1 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,6 @@
on: [push] on: [push]
jobs: jobs:
build-x86_64-linux-gnu: build-dist:
runs-on: docker runs-on: docker
steps: steps:
- name: Setup Zig - name: Setup Zig
@ -13,5 +13,17 @@ jobs:
run: zig build dist --summary all -Doptimize=ReleaseSmall run: zig build dist --summary all -Doptimize=ReleaseSmall
- uses: https://code.forgejo.org/forgejo/upload-artifact@v3 - uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with: with:
name: seizer-solitaire-dist name: seizer-solitaire.aarch64-linux-gnu
path: zig-out/* path: zig-out/bin/aarch64-linux-gnu/seizer-solitaire
- uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.arm-linux-gnueabihf
path: zig-out/bin/arm-linux-gnueabihf/seizer-solitaire
- uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.wasm32-wasi-none
path: zig-out/bin/wasm32-wasi-none/seizer-solitaire
- uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.html
path: zig-out/www/seizer-solitaire.html