Skip to content

Commit

Permalink
upgrade artifact action
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann authored Feb 18, 2024
1 parent fdc3fb3 commit 1c4bdcc
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/releasebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ jobs:
run: |
tools/seg_wrapper.sh pytest tests
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifact-sdist
path: dist/*.tar.gz

build_wheels_windows:
Expand Down Expand Up @@ -85,9 +86,9 @@ jobs:
CIBW_BUILD_VERBOSITY: 3

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
name: artifact-sdist
path: dist

- name: Copy wheel
Expand All @@ -102,8 +103,9 @@ jobs:
output-dir: wheelhouse

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact-windows-${{ matrix.arch }}-${{ matrix.python_tag }}
path: ./wheelhouse/*.whl

build_wheels_macos:
Expand Down Expand Up @@ -135,9 +137,9 @@ jobs:
CIBW_BUILD_VERBOSITY: 3

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
name: artifact-sdist
path: dist

- uses: actions/setup-python@v4
Expand All @@ -152,8 +154,9 @@ jobs:
output-dir: wheelhouse

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact-macos-${{ matrix.arch }}-${{ matrix.python_tag }}
path: ./wheelhouse/*.whl

build_wheels_linux:
Expand Down Expand Up @@ -186,9 +189,9 @@ jobs:
CIBW_BUILD_VERBOSITY: 3

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
name: artifact-sdist
path: dist

- uses: actions/setup-python@v4
Expand All @@ -206,8 +209,9 @@ jobs:
output-dir: wheelhouse

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact-linux-${{ matrix.arch }}-${{ matrix.python_tag }}
path: ./wheelhouse/*.whl

deploy-wheels:
Expand All @@ -219,9 +223,10 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
pattern: artifact-*
merge-multiple: true

- uses: pypa/[email protected]

0 comments on commit 1c4bdcc

Please sign in to comment.