From 44084dfe44df117f8ea125220f2b1d48c8546c1b Mon Sep 17 00:00:00 2001 From: Ji Bin Date: Tue, 16 Jan 2024 22:12:23 +0800 Subject: [PATCH] always cache for macOS build Signed-off-by: Ji Bin --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e07b697..37633dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -113,8 +113,9 @@ jobs: - name: Build Wheel run: | python3 -m pip install --user build wheel 'setuptools>64.0' - python3 -m build -w -n + python3 -m build -w -n || echo 'failed build please retun action if timeout' - uses: actions/upload-artifact@v3 + if: hashFiles('dist/*.whl') with: name: wheel_macos path: dist/*.whl