prantlf/Setup V (Vlang) Build

Setup a V (Vlang) environment by downloading and unpacking or building the V compiler to the PATH.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionSpecify the version of V to use. It can be `latest` (the latest published semantic version), `weekly` (the latest weekly release), `master` (the latest commit in the `master` branch), a semantic version number (tag name) or a commit hash.latest
use-cacheSet to `false` to ignore the cache and always perform the full installation, either by downloading and unpacking a binary, or by downloading sources and building.true
force-buildSet to `true` to always build V from sources, even if the binary archive is available.false
install-dependenciesSet to `false` to prevent module dependencies from `v.mod` from being installed automatically.true
global-dependenciesSet to `false` to install module dependencies from `v.mod` to `./modules` instead of to `~/.vmodules`.true
modules-dirSet the directory for the locally installed dependencies. It is `src/modules` if `src` exists, otherwise `modules`.""
tokenAuthorization token to inspect releases and commits in the `vlang/v` repository. Either a GitHub personal access token or the GitHub workflow token. And if even that is not set, the GitHub workflow token from the action-execution context will be used as default.${{ github.token }}
namedescription
versionThe actually installed version of V, as returned by `v -V`.
bin-pathThe complete path to the directory with the V compiler.
v-bin-pathThe complete path to the V compiler executable.
used-cacheA boolean value indicating if the installation succeeded from the cache.
was-builtA boolean value indicating if the V compiler was built from sources.