Skip to content

Commit 83b36ea

Browse files
authored
ci: Fix bad cache query (#39693)
Signed-off-by: Ryan Northey <[email protected]>
1 parent d504914 commit 83b36ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/_request_cache_bazel.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,12 @@ jobs:
8989
cd /source
9090
git clone "$GITHUB_WORKSPACE" .
9191
92-
echo "Fetching: ${{ inputs.targets }}"
92+
targets=$(echo "${{ inputs.targets }}" | sed 's/ / + /g')
93+
echo "Fetching: ${targets}"
9394
# ironically the repository_cache is just about the only thing you dont want to cache
9495
bazel --output_user_root=/build/bazel_root \
9596
--output_base=/build/bazel_root/base \
96-
aquery "deps(${{ inputs.targets }})" \
97+
aquery "deps(${targets})" \
9798
--config=ci \
9899
--repository_cache=/tmp/cache \
99100
${{ inputs.bazel-extra }} \

0 commit comments

Comments
 (0)