Github Actions
There are many ways to install CommandBox in your Github actions. However, we have created the official Github Action package so you can install CommandBox easily: Setup CommandBox Action
Inputs
The following are all the different input variables you can use on the action so you can setup CommandBox with ForgeBox API keys, default packages, specific versions and much more.
Input | Type | Default | Description |
---|---|---|---|
| string | --- | If added to the action, we will seed it in CommandBox for you. |
| boolean |
| If true then it will install: |
| string | --- | If added, a comma-delmitted list of packages to install upon installation of the binary for you. |
| boolean |
| If true and no install inputs detected, it will run the box binary. |
| semver |
| The CommandBox version to install, if not passed we use the latest stable. |
Usage
Simple usage:
With Global Dependencies:
With Specific Dependencies:
With ForgeBox Token
Install a specific version of CommandBox