#Use Velociraptor in your GitHub Actions
To use velociraptor in your GitHub Actions workflow include the jurassiscripts/setup-velociraptor@v2
action:
steps:
- uses: jurassiscripts/setup-velociraptor@v2
- run: vr ...
For convenience, it can also automatically run actions/checkout@v2
and denoland/setup-deno@1
to make your workflow less verbose.
It is however possible to disable this behaviour by passing false
to checkout
and/or deno-version
:
steps:
- uses: jurassiscripts/setup-velociraptor@v2
with:
checkout: false
deno-version: false
#Install a specific version
To install a specific Velociraptor version provide the velociraptor-version
input variable:
steps:
- uses: jurassiscripts/setup-velociraptor@v2
with:
velociraptor-version: 1.3.0
- run: vr ...
#Change executable alias
To change the default executable name (vr
) use the velociraptor-alias
variable:
steps:
- uses: jurassiscripts/setup-velociraptor@v2
with:
velociraptor-alias: velo
- run: velo ...
#Install a specific deno version
To install a specific Deno version provide the deno-version
input variable:
steps:
- uses: jurassiscripts/setup-velociraptor@v2
with:
deno-version: 1.6.3
- run: vr ...
This input is forwarded to denoland/setup-deno@1
, check its documentation for supported syntax.