Files
setup-zig/action.yml
T
mlugg 586e886fb4 Add use-cache option
This option can be used to disable preservation of the global Zig cache
directory across runs. This option is only applicable in rare cases, and
should not be used by the majority of users.
2024-06-11 23:31:54 +01:00

20 lines
668 B
YAML

name: 'Setup Zig Compiler'
description: 'Download and install the Zig compiler, and cache the global Zig cache'
inputs:
version:
description: 'Version of the Zig compiler, e.g. "0.13.0" or "0.13.0-dev.351+64ef45eb0". "master" uses the latest nightly build. "latest" uses the latest tagged release.'
required: true
default: 'latest'
mirror:
description: 'Override of Zig download mirror to use, e.g. "https://pkg.machengine.org/zig".'
required: false
default: ''
use-cache:
description: 'Whether to cache the global Zig cache directory.'
required: true
default: true
runs:
using: 'node20'
main: 'main.js'
post: 'post.js'