diff --git a/.github/workflows/go-c-cpp.yml b/.github/workflows/go-c-cpp.yml index 5b71b3098..6ff2f7b00 100644 --- a/.github/workflows/go-c-cpp.yml +++ b/.github/workflows/go-c-cpp.yml @@ -179,7 +179,8 @@ jobs: apt-get update apt-get install --yes wget git build-essential pkgconf libelf-dev llvm-12 clang-12 linux-tools-generic linux-tools-common wget https://go.dev/dl/go1.21.0.linux-arm64.tar.gz - sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.0.linux-arm64.tar.gz + rm -rf /usr/local/go + tar -C /usr/local -xzf go1.21.0.linux-arm64.tar.gz # Produce a binary artifact and place it in the mounted volume run: | uname -a diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d0f0c1fc..3d2833fcb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -128,7 +128,8 @@ jobs: apt-get update apt-get install --yes wget git build-essential pkgconf libelf-dev llvm-12 clang-12 linux-tools-generic linux-tools-common wget https://go.dev/dl/go1.21.0.linux-arm64.tar.gz - sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.0.linux-arm64.tar.gz + rm -rf /usr/local/go + tar -C /usr/local -xzf go1.21.0.linux-arm64.tar.gz # Produce a binary artifact and place it in the mounted volume run: | uname -a