We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
minimum_zig_version
build.zig.zon
1 parent 4c8ba10 commit 617b0b4Copy full SHA for 617b0b4
1 file changed
README.md
@@ -20,7 +20,9 @@ This will automatically download Zig and install it to `PATH`.
20
You can use `version` to set a Zig version to download. This may be a release (`0.13.0`), a specific nightly
21
build (`0.14.0-dev.2+0884a4341`), the string `master` for the latest nightly build, or the string `latest`
22
for the latest full release. It can also refer to a [Mach nominated version][mach-nominated], such as
23
-`2024.5.0-mach`. The default is `latest`.
+`2024.5.0-mach`. Finally, leaving the value empty (the default) will cause the action to attempt to resolve
24
+the Zig version from the `minimum_zig_version` field in `build.zig.zon`, falling back to `latest` if that
25
+isn't possible.
26
27
```yaml
28
- uses: step-security/setup-zig@v1
0 commit comments