driverforge/Anvil CLI

Install the Anvil CLI onto the runner (on PATH) and optionally run a target (build, …).

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 27, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: driverforge/anvil-github-action@82aafc5a163d79c28daa965c29d487e47d446b34 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
versionAnvil CLI version to install — pinned (e.g. 1.4.0) or "latest".nolatest
commandAnvil target to run after install (e.g. build). Omit for install-only — anvil stays on PATH for later steps.no""
project-dirPath to the driver project (anvil --project-dir / -p).no""
configurationBuild configuration — swaps config.<name>.lua (anvil build --configuration / -c).no""
incrementVersion bump: major | minor | patch (anvil build --increment / -i). "true" uses the CLI default.no""
encryptForce script encryption on (true) or off (false) — anvil build --encrypt. Omit to keep the driver's authored setting.no""
sourcemapEmit a sourcemap (anvil build --sourcemap / -s).no""
unpackKeep unpacked output in dist/ (anvil build --unpack / -u).no""
deployDeploy after build (anvil build --deploy). Mutually exclusive with sync.no""
syncHot-sync after build (anvil build --sync). Mutually exclusive with deploy.no""
argsExtra raw args appended to the anvil invocation — escape hatch as the CLI grows.no""
github-tokenReserved. Release binaries download from public Azure storage and need no token.no""
namedescription
versionThe resolved Anvil CLI version that was installed.
anvil-pathAbsolute path to the installed anvil binary.