Skip to content

Commit 385400d

Browse files
committed
ci: make cache maintenance variants configurable
1 parent d1b7158 commit 385400d

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/cache_maintenance.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ name: Repository cache maintenance
1515

1616
on:
1717
workflow_call:
18+
inputs:
19+
variants:
20+
description: |-
21+
Newline-separated variant specs in the form <platform>|<targets>,
22+
forwarded to repository-cache-refresh.
23+
required: true
24+
type: string
1825

1926
jobs:
2027
repository_cache_maintenance:
@@ -71,9 +78,5 @@ jobs:
7178
if: ${{ steps.check.outputs.should_refresh_cache == 'true' }}
7279
uses: eclipse-score/cicd-actions/repository-cache-refresh@use-lurtz-setup-bazel
7380
with:
74-
variants: |
75-
x86_64-linux|//...
76-
aarch64-linux|//...
77-
x86_64-qnx|//src/... //tests/...
78-
aarch64-qnx|//src/... //tests/...
81+
variants: ${{ inputs.variants }}
7982
old-caches-json: ${{ env.OLD_CACHES_JSON }}

0 commit comments

Comments
 (0)