Sets up CommandBox CLI for GitHub Actions.
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 |
|---|---|---|---|
forgeboxAPIKey | string | --- | If added to the action, we will seed it in CommandBox for you. |
installSystemModules | boolean | false | If true then it will install: commandbox-cfconfig, commandbox-dotenv for you |
install | string | --- | If added, a comma-delmitted list of packages to install upon installation of the binary for you. |
warmup | boolean | false | If true and no install inputs detected, it will run the box binary. |
version | semver | latest | The CommandBox version to install, if not passed we use the latest stable. |
Simple usage:
- name: Setup CommandBoxuses: Ortus-Solutions/setup-commandbox@v2.0.1With Global Dependencies:
- name: Setup CommandBoxuses: Ortus-Solutions/setup-commandbox@v2.0.1with:
installSystemModules: trueWith Specific Dependencies:
- name: Setup CommandBoxuses: Ortus-Solutions/setup-commandbox@v2.0.1with:
install: commandbox-fusionreactorWith ForgeBox Token
- name: Setup CommandBox With ForgeBox Keyuses: Ortus-Solutions/setup-commandbox@v2.0.1with:
forgeboxAPIKey: my-tokenInstall a specific version of CommandBox
- name: Setup CommandBox with specific versionuses: Ortus-Solutions/setup-commandbox@v2.0.1with:
version: 5.9.1