From 9ed1bc0c1c6ff06748e099acf73bf36de9a8cb6a Mon Sep 17 00:00:00 2001 From: Jason I Date: Mon, 29 Apr 2024 09:14:56 -0700 Subject: [PATCH] chore: update permissions on downloaded files --- .github/workflows/update-dfx-cache.sh | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/.github/workflows/update-dfx-cache.sh b/.github/workflows/update-dfx-cache.sh index 36aac6cb1..8527667dc 100755 --- a/.github/workflows/update-dfx-cache.sh +++ b/.github/workflows/update-dfx-cache.sh @@ -14,21 +14,12 @@ curl -O "https://download.dfinity.systems/ic/$current_sha/binaries/x86_64-linux/ curl -O "https://download.dfinity.systems/ic/$current_sha/binaries/x86_64-linux/sns.gz" # Overwrite artifacts in dfx cache -gzip -d replica.gz -mv replica $(dfx cache show) -gzip -d canister_sandbox.gz -mv canister_sandbox $(dfx cache show) -gzip -d ic-admin.gz -mv ic-admin $(dfx cache show) -gzip -d ic-btc-adapter.gz -mv ic-btc-adapter $(dfx cache show) -gzip -d ic-https-outcalls-adapter.gz -mv ic-https-outcalls-adapter $(dfx cache show) -gzip -d ic-nns-init.gz -mv ic-nns-init $(dfx cache show) -gzip -d ic-starter.gz -mv ic-starter $(dfx cache show) -gzip -d sandbox_launcher.gz -mv sandbox_launcher $(dfx cache show) -gzip -d sns.gz -mv sns $(dfx cache show) \ No newline at end of file +gzip -d replica.gz && chmod +x replica && mv replica $(dfx cache show) +gzip -d canister_sandbox.gz && chmod +x canister_sandbox && mv canister_sandbox $(dfx cache show) +gzip -d ic-admin.gz && chmod +x ic-admin && mv ic-admin $(dfx cache show) +gzip -d ic-btc-adapter.gz && chmod +x ic-btc-adapter && mv ic-btc-adapter $(dfx cache show) +gzip -d ic-https-outcalls-adapter.gz && chmod +x ic-https-outcalls-adapter && mv ic-https-outcalls-adapter $(dfx cache show) +gzip -d ic-nns-init.gz && chmod +x ic-nns-init && mv ic-nns-init $(dfx cache show) +gzip -d ic-starter.gz && chmod +x ic-starter && mv ic-starter $(dfx cache show) +gzip -d sandbox_launcher.gz && chmod +x sandbox_launcher && mv sandbox_launcher $(dfx cache show) +gzip -d sns.gz && chmod +x sns && mv sns $(dfx cache show) \ No newline at end of file