Skip to content

Commit

Permalink
always cache for macOS build
Browse files Browse the repository at this point in the history
Signed-off-by: Ji Bin <[email protected]>
  • Loading branch information
matrixji committed Jan 16, 2024
1 parent dbd0761 commit 3a6c8fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
CCACHE_COMPRESS: 1
CCACHE_COMPRESSLEVEL: 5
CCACHE_MAXSIZE: 2G
timeout-minutes: 900
timeout-minutes: 360
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -113,8 +113,10 @@ jobs:
- name: Build Wheel
run: |
python3 -m pip install --user build wheel 'setuptools>64.0'
python3 -m build -w -n
brew install coreutils
timeout 10800 python3 -m build -w -n || echo '::warning build may failed, please rerun action if timeout'
- uses: actions/upload-artifact@v3
if: hashFiles('dist/*.whl')
with:
name: wheel_macos
path: dist/*.whl
Expand Down

0 comments on commit 3a6c8fc

Please sign in to comment.