driverforge/Anvil CLI
Install the Anvil CLI onto the runner (on PATH) and optionally run a target (build, …).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 27, 2026
- License
- MIT
Pinned Snippet
uses: driverforge/anvil-github-action@82aafc5a163d79c28daa965c29d487e47d446b34 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Anvil CLI version to install — pinned (e.g. 1.4.0) or "latest". | no | latest |
| command | Anvil target to run after install (e.g. build). Omit for install-only — anvil stays on PATH for later steps. | no | "" |
| project-dir | Path to the driver project (anvil --project-dir / -p). | no | "" |
| configuration | Build configuration — swaps config.<name>.lua (anvil build --configuration / -c). | no | "" |
| increment | Version bump: major | minor | patch (anvil build --increment / -i). "true" uses the CLI default. | no | "" |
| encrypt | Force script encryption on (true) or off (false) — anvil build --encrypt. Omit to keep the driver's authored setting. | no | "" |
| sourcemap | Emit a sourcemap (anvil build --sourcemap / -s). | no | "" |
| unpack | Keep unpacked output in dist/ (anvil build --unpack / -u). | no | "" |
| deploy | Deploy after build (anvil build --deploy). Mutually exclusive with sync. | no | "" |
| sync | Hot-sync after build (anvil build --sync). Mutually exclusive with deploy. | no | "" |
| args | Extra raw args appended to the anvil invocation — escape hatch as the CLI grows. | no | "" |
| github-token | Reserved. Release binaries download from public Azure storage and need no token. | no | "" |
Outputs
| name | description |
|---|---|
| version | The resolved Anvil CLI version that was installed. |
| anvil-path | Absolute path to the installed anvil binary. |