Official GitHub Action for installing ota in GitHub Actions.
This repository is the dedicated setup/install surface for the Ota GitHub ecosystem:
- install
ota - put
otaonPATHfor later workflow steps - keep installer behavior separate from readiness reporting
That boundary is intentional:
ota-run/actionis the GitHub-native reporting wrapperota-run/setupis the installer/bootstrap wrapper
- installs ota through the official installer by default
- adds the ota binary directory to
PATHfor later steps in the same job - supports Linux, macOS, and Windows GitHub Actions runners
- can reuse an existing ota binary or fail closed when installation is disabled
- exposes the selected binary path and resolved ota version as action outputs
Use ota-run/setup when a job needs direct ota commands later in the same job:
steps:
- uses: actions/checkout@v5
- uses: ota-run/setup@v1
- run: ota run setup --stream
- run: ota run ci --streamPair it with ota-run/action@v1 when the workflow also needs GitHub-native readiness summaries,
annotations, comments, or receipt artifacts.
installauto,always, ornever- default:
auto
ota-version- optional version such as
v1.4.4or1.4.4
- optional version such as
ota-bin- Ota binary name or path to use after installation resolution
- default:
ota
ota-binota-versioninstalled
install: autoreuses an existing ota binary when present and installs ota only when missinginstall: alwaysforces installer use before selecting the binaryinstall: neverrequires ota to already exist and fails closed otherwise- setting
ota-versionwithinstall: autopromotes the run to installer mode so the requested version is honored - the supported target is GitHub Actions runners; self-hosted runners should provide
pwshon Windows orshpluscurlon Unix-like runners when installer mode is used
The public action contract is published through Git tags:
- immutable semver tags such as
v1.0.0 - a moving major tag such as
v1
Release prep is Ota-native:
ota run version:bump --version patchPut Ota command flags before task inputs, for exampleota run version:bump --stream --version patch.- commit and push
main - create and push a semver tag such as
v1.0.0
This repository is managed through Ota.
ota validatechecks the repo contractota run setupinstalls local dependenciesota run testruns the test suiteota run buildrefreshes the bundled action outputota run ciruns the canonical verification path for this repoota run version:bump --version patchprepares the next release version without creating a tag
Apache-2.0. See LICENSE.