From 27344e6b5af5e0cc6254ba5ae65e0af08e1cb109 Mon Sep 17 00:00:00 2001 From: Suresh Kumar Date: Fri, 29 Mar 2024 09:33:19 +0530 Subject: [PATCH] use protoc-3.13.0 in github action --- .github/workflows/pypi_publish.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi_publish.yaml b/.github/workflows/pypi_publish.yaml index 71c5e1e..57715a9 100644 --- a/.github/workflows/pypi_publish.yaml +++ b/.github/workflows/pypi_publish.yaml @@ -20,9 +20,11 @@ jobs: python-version: '3.8' cache: pip - name: Install Protoc - uses: actions-gw/setup-protoc-to-env@v2 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + run: | + PROTOC_ZIP=protoc-3.13.0-linux-x86_64.zip && \ + curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/$PROTOC_ZIP && \ + unzip -q $PROTOC_ZIP bin/protoc -d /usr/local && + protoc --version - name: Install dependencies run: | pip install setuptools wheel build