You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by yu...@apache.org on 2024/08/20 17:17:29 UTC
(thrift) 01/01: Fix python build on Github Actions
This is an automated email from the ASF dual-hosted git repository.
yuxuan pushed a commit to branch fix-python-build
in repository https://gitbox.apache.org/repos/asf/thrift.git
commit 1f842f6a03abcde7b92d6c3b0bf8ce9f1725bc30
Author: Yuxuan 'fishy' Wang <yu...@reddit.com>
AuthorDate: Tue Aug 20 10:17:09 2024 -0700
Fix python build on Github Actions
---
.github/workflows/build.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 39e8b8e55..0625aab9b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -419,6 +419,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
+ cache: 'pip'
+ cache-dependency-path: 'lib/py/setup.py'
- name: Python setup
run: |
@@ -448,7 +450,7 @@ jobs:
run: make -C lib/py
- name: Run make install for python
- run: sudo make -C lib/py install
+ run: make -C lib/py install
# - name: Run make install-exec-hook for python
# run: sudo make -C lib/py install-exec-hook