Skip to content

Commit

Permalink
cache macOS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Oct 6, 2024
1 parent 2ec8167 commit db01655
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions dev/ci/fetch-cache-az-blob-storage
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,13 @@ EXISTS=$(
echo "$EXISTS"

if [[ "$EXISTS" = True ]]; then
echo "--> Downloading blob"
echo "--> Downloading and extracting blob"
mkdir -p "$CACHE_PATH"
az storage blob download \
--container-name "$CONTAINER_NAME" \
--name "$BLOB_NAME" \
--file "$CACHE_PATH.tar.zstd" \
--no-progress

echo "--> Extracting blob"
mkdir -p "$CACHE_PATH"
tar -C "$CACHE_PATH" -x --zstd -f "$CACHE_PATH.tar.zstd"
rm "$CACHE_PATH.tar.zstd"
--no-progress \
| tar -C "$CACHE_PATH" -x --zstd -f -
echo "Extracted"

echo "cache-hit=true" >> "$GITHUB_OUTPUT"
Expand Down
2 changes: 1 addition & 1 deletion packaging/binaries

0 comments on commit db01655

Please sign in to comment.