From 8969528da771c7ae8adf2cc75493472f57e694a4 Mon Sep 17 00:00:00 2001 From: Lu Weizheng Date: Sun, 6 Oct 2024 15:22:05 +0800 Subject: [PATCH 1/4] build wheel --- .github/workflows/build-wheel.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-wheel.yaml b/.github/workflows/build-wheel.yaml index e79fcaf0d..219ede60d 100644 --- a/.github/workflows/build-wheel.yaml +++ b/.github/workflows/build-wheel.yaml @@ -3,7 +3,7 @@ name: Build and upload to PyPI on: schedule: # trigger build every day at 4:30 UTC - - cron: '30 4 * * *' + - cron: '30 7 * * *' push: tags: - '*' @@ -88,7 +88,7 @@ jobs: with: package-dir: ./python/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: wheelhouse/*.whl @@ -109,7 +109,7 @@ jobs: - name: Build sdist run: cd python && pipx run build --sdist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: ./python/dist/*.tar.gz @@ -117,16 +117,16 @@ jobs: needs: [build_wheels, build_sdist] runs-on: ubuntu-latest # upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - - uses: actions/download-artifact@v4.1.7 + - uses: actions/download-artifact@v4 with: # unpacks default artifact into dist/ # if `name: artifact` is omitted, the action will create extra parent dir name: artifact path: dist - # if is xprobe repo, upload to pypi + # if is xorbits repo, upload to pypi - uses: pypa/gh-action-pypi-publish@release/v1 if: github.repository == 'xorbitsai/xorbits' with: @@ -134,7 +134,7 @@ jobs: password: ${{ secrets.PYPI_PASSWORD }} skip-existing: true - # if is not xprobe repo, upload to test + # if is not xorbits repo, upload to test - uses: pypa/gh-action-pypi-publish@release/v1 if: github.repository != 'xorbitsai/xorbits' with: From a5859a1c760272daaee283ed6f71d99786b663d9 Mon Sep 17 00:00:00 2001 From: Lu Weizheng Date: Sun, 6 Oct 2024 16:06:17 +0800 Subject: [PATCH 2/4] build wheel --- .github/workflows/build-wheel.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wheel.yaml b/.github/workflows/build-wheel.yaml index 219ede60d..b2b973190 100644 --- a/.github/workflows/build-wheel.yaml +++ b/.github/workflows/build-wheel.yaml @@ -88,7 +88,7 @@ jobs: with: package-dir: ./python/ - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: path: wheelhouse/*.whl @@ -109,7 +109,7 @@ jobs: - name: Build sdist run: cd python && pipx run build --sdist - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: path: ./python/dist/*.tar.gz @@ -119,7 +119,7 @@ jobs: # upload to PyPI on every tag starting with 'v' # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v3 with: # unpacks default artifact into dist/ # if `name: artifact` is omitted, the action will create extra parent dir From 09b145e1a687b8fe71aef5e739bf96281bbabb4a Mon Sep 17 00:00:00 2001 From: Lu Weizheng Date: Sun, 6 Oct 2024 16:07:23 +0800 Subject: [PATCH 3/4] build wheel --- .github/workflows/build-wheel.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-wheel.yaml b/.github/workflows/build-wheel.yaml index b2b973190..2a936f0c8 100644 --- a/.github/workflows/build-wheel.yaml +++ b/.github/workflows/build-wheel.yaml @@ -3,7 +3,7 @@ name: Build and upload to PyPI on: schedule: # trigger build every day at 4:30 UTC - - cron: '30 7 * * *' + - cron: '12 8 * * *' push: tags: - '*' From 11603e3ffa1d9201971e623d2fcb0e31fd7dc6d2 Mon Sep 17 00:00:00 2001 From: Lu Weizheng Date: Sun, 6 Oct 2024 17:23:52 +0800 Subject: [PATCH 4/4] build wheel --- .github/workflows/build-wheel.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-wheel.yaml b/.github/workflows/build-wheel.yaml index 2a936f0c8..0d6bbb46c 100644 --- a/.github/workflows/build-wheel.yaml +++ b/.github/workflows/build-wheel.yaml @@ -3,7 +3,7 @@ name: Build and upload to PyPI on: schedule: # trigger build every day at 4:30 UTC - - cron: '12 8 * * *' + - cron: '30 4 * * *' push: tags: - '*' @@ -117,7 +117,7 @@ jobs: needs: [build_wheels, build_sdist] runs-on: ubuntu-latest # upload to PyPI on every tag starting with 'v' - # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v3 with: