Skip to content

Commit

Permalink
upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
multiphaseCFD committed Jan 7, 2025
1 parent 179f2da commit 0be5674
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 27 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/wheel_linux_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wheel_linux_aarch64_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/wheel_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/wheel_linux_x86_64_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wheel_macos_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/wheel_macos_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0be5674

Please sign in to comment.