Blog

Luis Majano

February 17, 2022

Spread the word


Share your thoughts

We are so incredibly excited to bring about an official release of this github action that our very own Eric Peterson has started. This has been a collective effort with the mighty Michael Born, Github Actions Guru, to bring you speed, optimizations and documentation to getting CommandBox CLI installed in Github actions easily and speedily.

With this action you will be able to easily setup CommandBox, seed it with modules, or even store your FORGEBOX API Token. Go build something cool!

Release Notes

Added

  • Ability to install any package when installed via the install input
  • Ability to install ANY CommandBox version by leveraging the version input
  • Ability to disable/enable the installation of our global dependencies via the installSystemModules input
  • Ability to run a box version upon installation via the warmup input

Changed

  • installSystemModules is now false by default. If you want cfconfig and dotenv, you must explicitly set this input to true
  • Only set the FORGEBOX tokens when passed as an input
  • Migrated installation from apt to binary installs

Usage

Simple usage:

- name: Setup CommandBox
  uses: Ortus-Solutions/setup-commandbox@v2.0.0

With Global Dependencies:

- name: Setup CommandBox
  uses: Ortus-Solutions/setup-commandbox@v2.0.0
  with:
    installSystemModules: true

With Specific Dependencies:

- name: Setup CommandBox
  uses: Ortus-Solutions/setup-commandbox@v2.0.0
  with:
    install: commandbox-fusionreactor

With ForgeBox Token

- name: Setup CommandBox With ForgeBox Key
  uses: Ortus-Solutions/setup-commandbox@v2.0.0
  with:
    forgeboxAPIKey: my-token

Install a specific version of CommandBox

- name: Setup CommandBox With ForgeBox Key
  uses: Ortus-Solutions/setup-commandbox@v2.0.0
  with:
    version: 5.0.0

Go Forth & Conquer!

Go build cool stuff, follow us, [tweet about us](https://twitter.com/intent/tweet?text=The CommandBox CLI Github Action is amazing&url=https://www.ortussolutions.com/blog/commandbox-github-actions-v200-released?cbcache), and please star our project!

Add Your Comment

Recent Entries

BoxLang 1.0.0 Beta 27 Launched

BoxLang 1.0.0 Beta 27 Launched

We are excited to bring you Beta 27 with enhanced XML handling, new CLI app support, improved error handling, and expanded interoperability with Java and CFML runtimes. We've also added new HTTP event hooks, improved caching strategies, and a streamlined class resolution process to make your applications more performant, even in debug modes.

Luis Majano
Luis Majano
January 31, 2025
Into the Box 2025 | Plan Your Trip With Us!

Into the Box 2025 | Plan Your Trip With Us!

Are you ready to join us for Into the Box 2025 from April 30th to May 2nd in Washington, D.C.? Let’s make your trip planning as smooth as possible. Here you’ll find Airfare discounts, Hotel Deals and fun things to do to the the best out of your trip to D.C.

Maria Jose Herrera
Maria Jose Herrera
January 30, 2025