Skip to content

Commit

Permalink
.github/workflows/cibuildwheel.yml: Upgrade actions/upload-artifact, …
Browse files Browse the repository at this point in the history
…download-artifact (#198)
  • Loading branch information
mkoeppe committed Jun 25, 2024
1 parent a1b22ea commit e2c4470
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ jobs:
- name: Build wheels
uses: pypa/cibuildwheel@v2.19.1

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: cibuildwheel-${{ matrix.os }}-${{ matrix.arch }}
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -62,8 +63,9 @@ jobs:
- name: Build sdist
run: pipx run build --sdist

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

upload_pypi:
Expand All @@ -74,10 +76,11 @@ jobs:
# alternatively, to publish when a GitHub Release is created, use the following rule:
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2.1.1
- uses: actions/download-artifact@v4
with:
name: artifact
pattern: "cibuildwheel-*"
path: dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@v1.8.5
with:
Expand Down

0 comments on commit e2c4470

Please sign in to comment.