From 0be567467a380c478a6fee1f17c647d1c9e1af6c Mon Sep 17 00:00:00 2001 From: Shuli Shu <08cnbj@gmail.com> Date: Tue, 7 Jan 2025 16:34:09 +0000 Subject: [PATCH] upload artifact --- .github/workflows/wheel_linux_aarch64.yml | 8 ++++---- .github/workflows/wheel_linux_aarch64_cuda.yml | 8 ++++---- .github/workflows/wheel_linux_x86_64.yml | 10 +++++----- .github/workflows/wheel_linux_x86_64_cuda.yml | 10 +++++----- .github/workflows/wheel_macos_arm64.yml | 8 ++++---- .github/workflows/wheel_macos_x86_64.yml | 10 +++++----- 6 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/wheel_linux_aarch64.yml b/.github/workflows/wheel_linux_aarch64.yml index 8435ecf63..28df54304 100644 --- a/.github/workflows/wheel_linux_aarch64.yml +++ b/.github/workflows/wheel_linux_aarch64.yml @@ -196,10 +196,10 @@ jobs: regex: '.*[0-9]+.[0-9]+.[0-9]+[-_]?rc[0-9]+' - uses: actions/upload-artifact@v4 - if: | - github.event_name == 'push' || - github.event_name == 'workflow_dispatch' || - github.ref == 'refs/heads/master' + #if: | + # github.event_name == 'release' || + # github.event_name == 'workflow_dispatch' || + # github.ref == 'refs/heads/master' with: name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp310-*":"py310","cp311-*":"py311","cp312-*":"py312" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: ./wheelhouse/*.whl diff --git a/.github/workflows/wheel_linux_aarch64_cuda.yml b/.github/workflows/wheel_linux_aarch64_cuda.yml index 57f9dbb02..922dbb711 100644 --- a/.github/workflows/wheel_linux_aarch64_cuda.yml +++ b/.github/workflows/wheel_linux_aarch64_cuda.yml @@ -106,10 +106,10 @@ jobs: regex: '.*[0-9]+.[0-9]+.[0-9]+[-_]?rc[0-9]+' - uses: actions/upload-artifact@v4 - if: | - github.event_name == 'push' || - github.event_name == 'workflow_dispatch' || - github.ref == 'refs/heads/master' + #if: | + # github.event_name == 'release' || + # github.event_name == 'workflow_dispatch' || + # github.ref == 'refs/heads/master' with: name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp310-*":"py310","cp311-*":"py311","cp312-*":"py312" }')[matrix.cibw_build] }}-${{ matrix.arch }}-cu${{ matrix.cuda_version }}.zip path: ./wheelhouse/*.whl diff --git a/.github/workflows/wheel_linux_x86_64.yml b/.github/workflows/wheel_linux_x86_64.yml index 52e581a44..aa420bccb 100644 --- a/.github/workflows/wheel_linux_x86_64.yml +++ b/.github/workflows/wheel_linux_x86_64.yml @@ -190,11 +190,11 @@ jobs: regex: '.*[0-9]+.[0-9]+.[0-9]+[-_]?rc[0-9]+' - uses: actions/upload-artifact@v4 - if: | - github.event_name == 'push' || - github.event_name == 'workflow_dispatch' || - github.ref == 'refs/heads/master' || - steps.rc_build.outputs.match != '' + #if: | + # github.event_name == 'release' || + # github.event_name == 'workflow_dispatch' || + # github.ref == 'refs/heads/master' || + # steps.rc_build.outputs.match != '' with: name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp310-*":"py310","cp311-*":"py311","cp312-*":"py312" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: ./wheelhouse/*.whl diff --git a/.github/workflows/wheel_linux_x86_64_cuda.yml b/.github/workflows/wheel_linux_x86_64_cuda.yml index cd037cd19..4f99ebe22 100644 --- a/.github/workflows/wheel_linux_x86_64_cuda.yml +++ b/.github/workflows/wheel_linux_x86_64_cuda.yml @@ -110,11 +110,11 @@ jobs: regex: '.*[0-9]+.[0-9]+.[0-9]+[-_]?rc[0-9]+' - uses: actions/upload-artifact@v4 - if: | - github.event_name == 'push' || - github.event_name == 'workflow_dispatch' || - github.ref == 'refs/heads/master' || - steps.rc_build.outputs.match != '' + #if: | + # github.event_name == 'release' || + # github.event_name == 'workflow_dispatch' || + # github.ref == 'refs/heads/master' || + # steps.rc_build.outputs.match != '' with: name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp310-*":"py310","cp311-*":"py311","cp312-*":"py312" }')[matrix.cibw_build] }}-${{ matrix.arch }}-cu${{ matrix.cuda_version }}.zip path: ./wheelhouse/*.whl diff --git a/.github/workflows/wheel_macos_arm64.yml b/.github/workflows/wheel_macos_arm64.yml index 2fe0da60c..3500883d0 100644 --- a/.github/workflows/wheel_macos_arm64.yml +++ b/.github/workflows/wheel_macos_arm64.yml @@ -125,10 +125,10 @@ jobs: python -m twine check ./wheelhouse/*.whl - uses: actions/upload-artifact@v4 - if: | - github.event_name == 'push' || - github.event_name == 'workflow_dispatch' || - github.ref == 'refs/heads/master' + #if: | + # github.event_name == 'release' || + # github.event_name == 'workflow_dispatch' || + # github.ref == 'refs/heads/master' with: name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp310-*":"py310","cp311-*":"py311","cp312-*":"py312" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: ./wheelhouse/*.whl diff --git a/.github/workflows/wheel_macos_x86_64.yml b/.github/workflows/wheel_macos_x86_64.yml index f5e61b1f6..96b9475ab 100644 --- a/.github/workflows/wheel_macos_x86_64.yml +++ b/.github/workflows/wheel_macos_x86_64.yml @@ -183,11 +183,11 @@ jobs: regex: '.*[0-9]+.[0-9]+.[0-9]+[-_]?rc[0-9]+' - uses: actions/upload-artifact@v4 - if: | - github.event_name == 'push' || - github.event_name == 'workflow_dispatch' || - github.ref == 'refs/heads/master' || - steps.rc_build.outputs.match != '' + #if: | + # github.event_name == 'release' || + # github.event_name == 'workflow_dispatch' || + # github.ref == 'refs/heads/master' || + # steps.rc_build.outputs.match != '' with: name: ${{ runner.os }}-wheels-${{ matrix.pl_backend }}-${{ fromJson('{ "cp310-*":"py310","cp311-*":"py311","cp312-*":"py312" }')[matrix.cibw_build] }}-${{ matrix.arch }}.zip path: ./wheelhouse/*.whl