Skip to content

Commit

Permalink
chore: use sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason I committed Apr 29, 2024
1 parent 1b1df3a commit d436e82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-dfx-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ 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 && 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-starter.gz && chmod +x ic-starter && mv ic-starter $(dfx cache show)
sudo gzip -d replica.gz && sudo chmod +x replica && sudo mv replica $(dfx cache show)
sudo gzip -d canister_sandbox.gz && sudo chmod +x canister_sandbox && sudo mv canister_sandbox $(dfx cache show)
sudo gzip -d ic-starter.gz && sudo chmod +x ic-starter && sudo mv ic-starter $(dfx cache show)
#gzip -d sandbox_launcher.gz && chmod +x sandbox_launcher && mv sandbox_launcher $(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)
Expand Down

0 comments on commit d436e82

Please sign in to comment.