diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aab7384ec0..b5f4524baf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: release on: schedule: - - cron: '0 21 * * *' # This schedule runs every 21:00:00Z(05:00:00+08:00) + - cron: '0 13 * * *' # This schedule runs every 13:00:00Z(21:00:00+08:00) # The "create tags" trigger is specifically focused on the creation of new tags, while the "push tags" trigger is activated when tags are pushed, including both new tag creations and updates to existing tags. create: tags: diff --git a/.github/workflows/slow_test.yml b/.github/workflows/slow_test.yml index 803673a6b3..88e2cb9eb1 100644 --- a/.github/workflows/slow_test.yml +++ b/.github/workflows/slow_test.yml @@ -1,8 +1,11 @@ name: slow_tests on: - schedule: - - cron: '0 13 * * *' # This schedule runs every 13:00:00Z(21:00:00+08:00) + # The "create tags" trigger is specifically focused on the creation of new tags, while the "push tags" trigger is activated when tags are pushed, including both new tag creations and updates to existing tags. + create: + tags: + - "v*.*.*" # normal release + - "nightly" # the only one mutable tag # https://docs.github.com/en/actions/using-jobs/using-concurrency concurrency: @@ -40,7 +43,7 @@ jobs: run: rm -rf resource && git clone --depth=1 https://github.com/infiniflow/resource.git - name: Build infinity-sdk - if: startsWith(github.ref, 'refs/tags/v') + if: ${{ !cancelled() && !failure() }} run: | sudo docker exec ${BUILDER_CONTAINER} bash -c "cd /infinity/ && rm -rf dist && /usr/local/bin/pip3.10 wheel . -v -w dist --config-settings=wheel.py-api=cp310 --config-settings=build-dir='cmake-build-release' && /usr/local/bin/pip3.11 wheel . -v -w dist --config-settings=wheel.py-api=cp311 --config-settings=build-dir='cmake-build-release' && /usr/local/bin/pip3.12 wheel . -v -w dist --config-settings=wheel.py-api=cp312 --config-settings=build-dir='cmake-build-release' && auditwheel repair --plat manylinux_2_17_x86_64 dist/infinity*linux_x86_64.whl"