Skip to content

About

Install the Onebox CLI (ob) in GitHub Actions from a verified release

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

setup-onebox

Install the Onebox CLI, ob, in a GitHub Actions job.

- uses: labstack/setup-onebox@v2026.11.0-alpha
  with:
    version: 2026.11.4-alpha # default: latest
- run: ob deploy --env production --yes

Releases use the same CalVer alpha tags as Onebox (vYYYY.M.N-alpha), published as GitHub pre-releases. There is no moving major tag. For a deploy workflow, pin the release's commit SHA with the tag as a comment, such as labstack/setup-onebox@<sha> # v2026.11.0-alpha, so Dependabot or Renovate can update it.

The action downloads the release archive for the runner's OS and architecture from labstack/onebox releases, checks it against the release's onebox_<version>_checksums.txt, and puts ob on PATH. It runs on Linux, macOS and Windows, on x64 and ARM64.

Input Default Description
version latest Release to install, with or without the leading v. latest is the newest published release, alpha included. Pin a version for repeatable deploys.
token ${{ github.token }} Token used to read the release.
Output Description
version The installed release, without its leading v.
path Absolute path of the installed ob.

Deploying from Actions, approval with GitHub environment reviewers, and keeping server keys on a self-hosted runner are covered in Deploy from GitHub Actions.

Licence

Apache-2.0

About

Install the Onebox CLI (ob) in GitHub Actions from a verified release

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors