Skip to content

Commit

Permalink
feat: move target zig version to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
EliSauder committed Sep 23, 2024
1 parent 3f23611 commit d14a6a7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-microzig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-microzig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-website-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d14a6a7

Please sign in to comment.