From d436e8281683c6c2ccfeb43b7ff5ebd2c6e605c2 Mon Sep 17 00:00:00 2001 From: Jason I Date: Mon, 29 Apr 2024 09:39:48 -0700 Subject: [PATCH] chore: use sudo --- .github/workflows/update-dfx-cache.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-dfx-cache.sh b/.github/workflows/update-dfx-cache.sh index a2d32f1d8..79cd65b02 100755 --- a/.github/workflows/update-dfx-cache.sh +++ b/.github/workflows/update-dfx-cache.sh @@ -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)