Skip to content

Commit

Permalink
Merge pull request #1199 from glotzerlab/fix-build-wheels
Browse files Browse the repository at this point in the history
Update Upload and Download Artifact Versions
  • Loading branch information
tommy-waltmann committed Jan 16, 2024
2 parents cfb90ed + c4220ae commit 84e0aa1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ jobs:
CIBW_BEFORE_TEST_WINDOWS: "powershell .github/workflows/cibuildwheel-before-test.ps1 {package}"
CIBW_TEST_COMMAND: "cd {package}/tests && pytest . -v --log-level=DEBUG -n auto"

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

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

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

upload_pypi:
Expand All @@ -100,9 +100,10 @@ jobs:

steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.0
with:
name: dist
merge-multiple: 'true'
pattern: dist-*
path: dist

- name: Check files
Expand Down

0 comments on commit 84e0aa1

Please sign in to comment.