Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github/workflows/cibuildwheel.yml: Upgrade actions/upload-artifact #198

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
.github/workflows/cibuildwheel.yml: Upgrade actions/upload-artifact, …
…download-artifact
  • Loading branch information
mkoeppe committed Jun 24, 2024
commit bfac003617d212d7397933feec6fc7650d5bb000
11 changes: 7 additions & 4 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
@@ -36,8 +36,9 @@ jobs:
- name: Build wheels
uses: pypa/cibuildwheel@v2.17.0

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

build_sdist:
@@ -49,8 +50,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:
@@ -61,10 +63,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:
Loading