From a3731fb2b067510eb7f99c47b25d630f9dfe8a1b Mon Sep 17 00:00:00 2001 From: rohitcpbot Date: Tue, 3 Dec 2024 11:17:55 -0800 Subject: [PATCH] Elevate privilege for more commands. --- .github/actions/go/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/go/action.yaml b/.github/actions/go/action.yaml index 83737170467..99a0cbe484b 100644 --- a/.github/actions/go/action.yaml +++ b/.github/actions/go/action.yaml @@ -15,8 +15,8 @@ runs: sudo apt-get update sudo apt-get install -y wget unzip wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip - unzip protoc-21.12-linux-x86_64.zip -d /usr/local/ - rm protoc-21.12-linux-x86_64.zip + sudo unzip protoc-21.12-linux-x86_64.zip -d /usr/local/ + sudo rm protoc-21.12-linux-x86_64.zip shell: bash - name: Add Go bin to PATH