From fca67de67f79859e4ad8eef4724bfdcc21ccd6c9 Mon Sep 17 00:00:00 2001 From: Nova Date: Tue, 12 Aug 2025 19:55:25 +0330 Subject: [PATCH] fix protoc version --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08b286f..eccd16e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,9 +65,11 @@ jobs: 7z x go.7z - name: Install Protoc if: matrix.cross_os != 'public_res' - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: arduino/setup-protoc@v3 + run: | + curl -LO "https://github.com/protocolbuffers/protobuf/releases/download/v31.1/protoc-31.1-linux-x86_64.zip" + unzip "protoc-31.1-linux-x86_64.zip" -d protoc_install + cp ./protoc_install/bin/protoc /usr/local/bin + protoc --version - name: Installing protoc-gen-go if: matrix.cross_os != 'public_res' run: |