ocx-sh/Setup OCX

Install the OCX package manager and (optionally) activate an OCX project from ocx.toml + ocx.lock

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionOCX version to install (e.g., "latest", "0.2.0")nolatest
github-tokenGitHub token for API requests and release downloadsno${{ github.token }}
libcLinux C library variant ("gnu" or "musl"). Auto-detected if not specified.no""
projectPath to the project ocx.toml (relative to working-directory). Set to an empty string to disable project auto-load. When the file exists, the action runs `ocx pull` and activates the project so subsequent steps can invoke the bound tools directly.noocx.toml
working-directoryDirectory used to resolve `project` and to invoke ocx. Defaults to the workflow workspace.no${{ github.workspace }}
groupsComma-separated list of project groups to pre-warm via `ocx pull -g`. Empty (default) pulls every entry from ocx.lock.no""
cacheCache the OCX object store ($OCX_HOME/{blobs,layers,packages,tags}) across runs via @actions/cache, keyed on a hash of ocx.lock. Also caches the ocx binary itself.notrue
cache-suffixExtra string appended to cache keys for manual cache busting.no""
ocx-homeOverrides $OCX_HOME. Defaults to ~/.ocx.no""
namedescription
versionThe installed OCX version
ocx-pathPath to the OCX binary directory
cache-hitWhether the OCX binary was restored from cache
project-loadedWhether an OCX project was found and activated (`"true"` / `"false"`)
project-cache-hitWhether the OCX object store was restored from the cache for this project