Skip to content

Commit 80c8ba1

Browse files
perf(ci): share UI artifact cache across runner OSes
The cached HTML output is platform-independent, so set enableCrossOsArchive on the cache step. With this any OS can restore the cache populated by any other OS — one shared cache instead of three. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1c224fb commit 80c8ba1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/actions/build-ui/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ runs:
1313
pkg/github/ui_dist/issue-write.html
1414
pkg/github/ui_dist/pr-write.html
1515
key: ui-dist-v1-${{ hashFiles('ui/package-lock.json', 'ui/package.json', 'ui/index.html', 'ui/tsconfig*.json', 'ui/vite.config.ts', 'ui/src/**', 'ui/scripts/**') }}
16+
enableCrossOsArchive: true
1617

1718
- name: Set up Node.js
1819
if: steps.cache-ui.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)