Shared GitHub Actions and scripts for Nodos repositories.
Use this instead of actions/checkout for repos with large or deeply-nested
submodule trees. It is long-path safe on Windows, recovers submodules left dirty
by a failed previous run, and fetches submodules in parallel (--jobs) —
which actions/checkout still does serially.
- name: Checkout Nodos
uses: nodos-dev/actions/checkout@main
with:
ref: ${{ github.sha }}
path: ./Nodos
jobs: 8 # parallel submodule fetchCross-repo / private example (relies on the runner's ambient git credentials by
default; pass token if the runner is not pre-authenticated):
- uses: nodos-dev/actions/checkout@main
with:
repository: nodos-dev/workspace
ref: dev
path: ./nodos-workspace
# token: ${{ secrets.CI_TOKEN }}| Input | Default | Description |
|---|---|---|
repository |
${{ github.repository }} |
owner/name to check out. |
ref |
triggering SHA | Branch, tag, or SHA. Required for other repos. |
path |
. |
Destination directory (reused across runs). |
server-url |
https://github.com |
Git server base URL. |
fetch-depth |
1 |
Main-repo shallow depth (0 = full). |
submodules |
recursive |
recursive, true, or false. |
shallow-submodules |
true |
Shallow-fetch submodules. |
jobs |
8 |
Parallel submodule fetch jobs. |
clean |
true |
Hard-reset + clean tree and submodules first. |
token |
(empty) | HTTPS auth token; empty = ambient credentials. |
Badges below show the latest GitHub Actions run status for each build workflow on the dev, nodos-1.3, and nodos-1.2 branches.
| Component | dev | nodos-1.3 | nodos-1.2 |
|---|---|---|---|
| Nodos | |||
| aja | |||
| audio | |||
| decklink | |||
| display | |||
| mediaio | |||
| modules | |||
| nos.sys.vulkan | |||
| rive | |||
| sys-device | |||
| sys-settings | |||
| test | |||
| transfer | |||
| webcam |