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

"102 Tips and Tricks for ColdBox HMVC Applications" out on Amazon

"102 Tips and Tricks for ColdBox HMVC Applications." is now available as an e-book, hardcover, and paperback formats. Whether you're a seasoned ColdFusion developer or just starting your journey, this book is a must-have addition to your library to become a master in CFML with modern tools.****

Maria Jose Herrera
Maria Jose Herrera
September 21, 2023
CFCast Series: Mastering CBWIRE 3

CFCast Series: Mastering CBWIRE 3

CBWIRE, a ColdBox module, enables you to quickly develop modern, responsive CFML applications without relying heavily on JavaScript or creating backend APIs. With CBWIRE, you can become a web development hero!

We have just published the first video of our series, more coming soon!

Maria Jose Herrera
Maria Jose Herrera
September 20, 2023