diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 54e2947..90d0085 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -51,8 +51,8 @@ jobs: pip install setuptools-rust if [ "${{ runner.os }}" == "Linux" ]; then - sudo apt-get update - sudo apt-get install -y unzip + apt-get update + apt-get install -y unzip PROTOC_ZIP=protoc-25.1-linux-x86_64.zip elif [ "${{ runner.os }}" == "macOS" ]; then brew install unzip @@ -63,8 +63,8 @@ jobs: fi curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v25.1/$PROTOC_ZIP - sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc - sudo unzip -o $PROTOC_ZIP -d /usr/local 'include/*' + unzip -o $PROTOC_ZIP -d /usr/local bin/protoc + unzip -o $PROTOC_ZIP -d /usr/local 'include/*' rm -f $PROTOC_ZIP /usr/local/bin/protoc --version