Skip to content

Commit

Permalink
BLD: fix artifact upload for v4 of action
Browse files Browse the repository at this point in the history
  • Loading branch information
ntessore committed Feb 6, 2024
1 parent 0c58445 commit b6400f1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ on:

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
name: Build wheels on ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
runs-on: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -31,6 +31,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.runs-on }}
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -44,7 +45,8 @@ jobs:

- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz
name: dist-sdist
path: dist

upload_pypi:
name: Upload to PyPI
Expand All @@ -56,7 +58,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
pattern: dist-*
merge-multiple: true
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit b6400f1

Please sign in to comment.