mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
* refactor(tooling): organize test runtime and maintenance owners * test(tooling): preserve relocated runtime fixture dependency edges * refactor(tooling): preserve xterm routing owner checks * ci(tooling): include routing owner in sparse checkout * test(tooling): preserve copied workflow dependency closures * fix(tooling): normalize hashed JSON assets in release parity * fix(tooling): distinguish asset aliases from literal references * fix(tooling): frame normalized asset reference payloads * fix(tooling): normalize decoded JSON asset references * refactor(tooling): organize build, CI and release owners * fix(tooling): align moved generator and workflow path contracts * fix(tooling): update generated plugin bundle owner banners * test(tooling): create relocated mobile verifier fixture directories * test(tooling): copy headless detector dependency closure * test(tooling): align native batch policy fixtures with owner path * fix(tooling): link moved reliability command to historical evidence * fix(tooling): preserve nested sandbox owners and canonical guide source * fix(tooling): target release version owners in checkout fixture
34 lines
1.5 KiB
YAML
34 lines
1.5 KiB
YAML
name: Restore xterm build dependencies
|
|
description: Reuse installed dependencies for the pinned upstream checkout.
|
|
outputs:
|
|
cache-key:
|
|
description: Exact dependency cache key.
|
|
value: ${{ steps.restore.outputs.cache-primary-key }}
|
|
cache-hit:
|
|
description: Whether the exact installed dependency cache was restored.
|
|
value: ${{ steps.restore.outputs.cache-hit }}
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- id: runtime
|
|
shell: bash
|
|
run: |
|
|
. /etc/os-release
|
|
echo "image=$ID-$VERSION_ID" >> "$GITHUB_OUTPUT"
|
|
echo "node=$(node --version)" >> "$GITHUB_OUTPUT"
|
|
- id: restore
|
|
uses: actions/cache/restore@v5
|
|
with:
|
|
path: |
|
|
${{ runner.temp }}/xterm-patch-build/upstream/.git
|
|
${{ runner.temp }}/xterm-patch-build/upstream/node_modules
|
|
key: xterm-dependencies-v1-${{ runner.os }}-${{ steps.runtime.outputs.image }}-${{ runner.arch }}-${{ steps.runtime.outputs.node }}-${{ hashFiles('config/patches/xterm-upstream.json', 'config/scripts/terminal-dependencies/xterm-patches/regenerate-xterm-patches.mjs', 'config/scripts/terminal-dependencies/xterm-patches/xterm-patch-text.mjs', '.github/actions/prepare-xterm-dependencies/action.yml') }}
|
|
- name: Restore download cache on an installed-dependency miss
|
|
if: steps.restore.outputs.cache-hit != 'true'
|
|
uses: actions/cache/restore@v5
|
|
with:
|
|
path: |
|
|
~/.npm
|
|
${{ runner.temp }}/xterm-patch-build/upstream/.git
|
|
key: xterm-upstream-${{ hashFiles('config/patches/xterm-upstream.json') }}
|