From b43a65ae8276cdeca11d4abc2daf0cebe670a8c6 Mon Sep 17 00:00:00 2001 From: peterino2 Date: Sun, 12 Oct 2025 02:17:29 -0700 Subject: [PATCH] saving --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70f8f72..4f83d7a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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