Skip to content

Commit

Permalink
chore: update permissions on downloaded files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason I committed Apr 29, 2024
1 parent dc55de3 commit 9ed1bc0
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/update-dfx-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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)

0 comments on commit 9ed1bc0

Please sign in to comment.