This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion-python.git
The following commit(s) were added to refs/heads/main by this push:
new 503647c Fix release build (#310)
503647c is described below
commit 503647c4be6caa96d2ec05e63aee12616bdf8ed8
Author: Andy Grove <[email protected]>
AuthorDate: Fri Mar 31 14:34:26 2023 -0600
Fix release build (#310)
---
.github/workflows/build.yml | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a6541f7..115648b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -113,19 +113,20 @@ jobs:
path: .
- run: cat LICENSE.txt
- run: sudo apt-get install protobuf-compiler
- - name: Install Protoc
- uses: arduino/setup-protoc@v1
- with:
- version: '3.x'
- repo-token: ${{ secrets.GITHUB_TOKEN }}
- - run: echo "PROTOC=$(which protoc)" >> "$GITHUB_ENV"
- - name: Confirm PROTOC is set
- - run: echo $PROTOC
+ - name: Install protoc
+ run: |
+ PROTOC_VERSION=3.12.4
+ curl -LO
"https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-${PROTOC_OS_ARCH}.zip"
+ unzip -d "${GITHUB_WORKSPACE}"
"protoc-${PROTOC_VERSION}-${PROTOC_OS_ARCH}.zip" bin/protoc
+ chmod +x "${GITHUB_WORKSPACE}/bin/protoc"
+ ${GITHUB_WORKSPACE}/bin/protoc --version
+ export PATH=${GITHUB_WORKSPACE}/bin/:$PATH
+ which protoc
+ echo "::set-env name=PATH::$PATH"
- name: Build wheels
uses: PyO3/maturin-action@v1
env:
RUST_BACKTRACE: 1
- PROTOC: /opt/hostedtoolcache/protoc/3.20.3/x64/bin/protoc
with:
rust-toolchain: nightly
target: x86_64