Skip to content

Commit

Permalink
Try to update upload/download-artifact actions
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor authored Feb 2, 2024
1 parent e9e3ea4 commit a8b8eb8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ jobs:
CIBW_ARCHS_WINDOWS: AMD64 x86
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifact_bdist
path: ./wheelhouse/*.whl

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

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

upload_all:
Expand All @@ -75,9 +77,10 @@ jobs:
with:
python-version: "3.10"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
pattern: artifact_*
merge-multiple: true
path: dist

- uses: pypa/[email protected]
Expand Down

0 comments on commit a8b8eb8

Please sign in to comment.