From d14a6a75a112e1f839421a8017a9bd9b308e20e5 Mon Sep 17 00:00:00 2001 From: EliSauder <24995216+EliSauder@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:54:53 -0700 Subject: [PATCH] feat: move target zig version to variable --- .github/workflows/build-microzig.yml | 2 +- .github/workflows/publish-microzig.yml | 4 ++-- .github/workflows/publish-website-staging.yml | 2 +- .github/workflows/publish-website.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-microzig.yml b/.github/workflows/build-microzig.yml index 10bd3eb1..925e0a33 100644 --- a/.github/workflows/build-microzig.yml +++ b/.github/workflows/build-microzig.yml @@ -29,7 +29,7 @@ jobs: name: Build uses: ./.github/workflows/build-base.yml with: - zig-version: 0.13.0 + zig-version: ${{ vars.MZ_TARGET_ZIG_VERSION }} get-submodules: true is-packaged: true zig-args: -Doptimize=ReleaseSmall diff --git a/.github/workflows/publish-microzig.yml b/.github/workflows/publish-microzig.yml index 28c42222..c2ad9e7c 100644 --- a/.github/workflows/publish-microzig.yml +++ b/.github/workflows/publish-microzig.yml @@ -17,7 +17,7 @@ jobs: group: build cancel-in-progress: true with: - zig-version: 0.13.0 + zig-version: ${{ vars.MZ_TARGET_ZIG_VERSION }} get-submodules: true is-packaged: true target-os: macOS @@ -33,7 +33,7 @@ jobs: with: in-gh-artifact-name: microzig-build out-gh-artifact-name: microzig-alt - zig-version: 0.13.0 + zig-version: ${{ vars.MZ_TARGET_ZIG_VERSION }} microzig-version: ${{ needs.build-microzig.outputs.version }} # Publish microzig publish-microzig: diff --git a/.github/workflows/publish-website-staging.yml b/.github/workflows/publish-website-staging.yml index d700aa50..ceb2e761 100644 --- a/.github/workflows/publish-website-staging.yml +++ b/.github/workflows/publish-website-staging.yml @@ -16,7 +16,7 @@ jobs: build-website: uses: ./.github/workflows/build-base.yml with: - zig-version: 0.13.0 + zig-version: ${{ vars.WS_TARGET_ZIG_VERSION }} get-submodules: true target-os: Linux github-artifact-name: website-build diff --git a/.github/workflows/publish-website.yml b/.github/workflows/publish-website.yml index fb4df430..0d5cedbf 100644 --- a/.github/workflows/publish-website.yml +++ b/.github/workflows/publish-website.yml @@ -16,7 +16,7 @@ jobs: build-website: uses: ./.github/workflows/build-base.yml with: - zig-version: 0.13.0 + zig-version: ${{ vars.WS_TARGET_ZIG_VERSION }} get-submodules: true target-os: Linux github-artifact-name: website-build