Fix bazel cache downloading in CI

This commit is contained in:
Jason Bosco 2023-11-22 17:28:15 -06:00
parent 0956816717
commit eb9ef31aaa

View File

@ -38,15 +38,17 @@ jobs:
uses: bazelbuild/setup-bazelisk@v2
- name: Download bazel cache
uses: dawidd6/action-download-artifact@v2
uses: jasonbosco/action-download-artifact@709b71d3729e8980f52a5a2a9ec04261060945c1
with:
name: bazel-cache
search_artifacts: true
workflow_conclusion: ""
if_no_artifact_found: warn
skip_unpack: true
- name: Uncompress bazel cache
run: |
unzip bazel-cache.zip
mkdir -p ~/.cache/bazel
tar_file="bazel-cache.tar.gz" && \
[ -f "$tar_file" ] && \