Skip to content

Commit

Permalink
fix: correct json parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jan 8, 2024
1 parent 3ec4672 commit 86093e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/mac-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,14 @@ jobs:
- name: Check If Cache Exists
id: check-cache
run: |
local exists=$(az storage blob exists \
brew install jq
local exists_json=$(az storage blob exists \
--account-name $AZURE_STORAGE_ACCOUNT \
--account-key $AZURE_STORAGE_KEY \
--container-name $AZURE_STORAGE_CONTAINER_NAME \
--name src-121.0.6116.0-01052024_test)
echo ::set-output name=cache-exists::${{fromJson(exists).exists}}
local exists=$(echo $exists_json | jq -r '.exists')
echo ::set-output name=cache-exists::exists
- name: Download Cache
run: |
az storage blob download \
Expand Down

0 comments on commit 86093e0

Please sign in to comment.