saving
This commit is contained in:
parent
5ff0e56321
commit
b43a65ae82
|
|
@ -9,13 +9,13 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.target.os }}
|
||||
matrix:
|
||||
target:
|
||||
- zig: x86_64-linux-gnu
|
||||
os: self-hosted-linux
|
||||
target:
|
||||
- zig: x86_64-windows
|
||||
os: self-hosted-windows
|
||||
strategy:
|
||||
matrix:
|
||||
target:
|
||||
- zig: x86_64-linux-gnu
|
||||
os: self-hosted-linux
|
||||
- zig: x86_64-windows
|
||||
os: self-hosted-windows
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
@ -25,13 +25,13 @@ jobs:
|
|||
|
||||
- name: Build projects
|
||||
working-directory: ./projects
|
||||
run: zig build install -Dtarget=${{ matrix.target }}
|
||||
run: zig build install -Dtarget=${{ matrix.target.zig }}
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
if: success()
|
||||
with:
|
||||
name: build-artifacts
|
||||
name: build-artifacts-${{ matrix.target.zig }}
|
||||
path: |
|
||||
projects/zig-out/
|
||||
retention-days: 7
|
||||
|
|
|
|||
Loading…
Reference in New Issue