GitHub Actions
Run BoxLang in your GitHub actions seamlessly.
To run BoxLang in your GitHub Actions workflow, you need to add a step to your workflow file to set up and execute BoxLang. Below is an example of how you can use the action to run BoxLang with default settings:
This setup installs BoxLang, optionally installs modules, and runs a BoxLang script within your repository. Adjust the version
and modules
as needed.
Inputs
The following are all the different input variables you can use with the action, allowing you to set up BoxLang in your GitHub Actions workflow.
modules
string
---
If added, a space-delimited list of modules to install upon installation of the binary for you.
version
semver
latest
The BoxLang version to install, if not passed we use the latest stable.
Tip: You can use snapshot
version to install the latest bleeding-edge version.
Usage Examples
Simple usage:
With Specific Modules:
Install a specific version of BoxLang:
Here is another one:
System Requirements
This action will automatically install the following system packages if they are not already available:
openjdk-21-jre
(or equivalent) - Java Runtime Environment for BoxLang
Last updated
Was this helpful?