Skip to content

Commit

Permalink
Update the versions of artifact actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joerick committed Oct 11, 2024
1 parent 0cfb26a commit a51f692
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
CIBW_ARCHS: ${{matrix.archs}}
CIBW_ARCHS_MACOS: auto universal2

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -68,8 +69,9 @@ jobs:
- name: Build sdist
run: python setup.py sdist

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

upload_pypi:
Expand All @@ -85,9 +87,11 @@ jobs:
attestations: write

steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: artifact
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
path: dist
merge-multiple: true

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

0 comments on commit a51f692

Please sign in to comment.