This commit is contained in:
peterino2 2025-10-12 02:17:29 -07:00
parent 5ff0e56321
commit b43a65ae82
1 changed files with 9 additions and 9 deletions

View File

@ -9,13 +9,13 @@ on:
jobs: jobs:
build: build:
runs-on: ${{ matrix.target.os }} runs-on: ${{ matrix.target.os }}
matrix: strategy:
target: matrix:
- zig: x86_64-linux-gnu target:
os: self-hosted-linux - zig: x86_64-linux-gnu
target: os: self-hosted-linux
- zig: x86_64-windows - zig: x86_64-windows
os: self-hosted-windows os: self-hosted-windows
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -25,13 +25,13 @@ jobs:
- name: Build projects - name: Build projects
working-directory: ./projects working-directory: ./projects
run: zig build install -Dtarget=${{ matrix.target }} run: zig build install -Dtarget=${{ matrix.target.zig }}
- name: Upload build artifacts - name: Upload build artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
if: success() if: success()
with: with:
name: build-artifacts name: build-artifacts-${{ matrix.target.zig }}
path: | path: |
projects/zig-out/ projects/zig-out/
retention-days: 7 retention-days: 7