Skip to content

Commit

Permalink
changed the way binary builds are uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperVanDenBosch committed Jul 16, 2024
1 parent 82b105e commit 2aae61b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts
path: dist
merge-multiple: true
- name: List files
run: ls -R artifacts
- name: Gather artifacts
run: |
mkdir dist
mv artifacts/source/*.tar.gz dist/
mv artifacts/wheels-macos-latest/*.whl dist/
mv artifacts/wheels-ubuntu-latest/*.whl dist/
mv artifacts/wheels-windows-latest/*.whl dist/
run: ls -R dist
- name: Publish package
uses: pypa/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
pip install -q twine
twine check dist/*
- name: Store artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: source
path: dist/*
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
- name: Store artifact
uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
name: cibw-wheels-${{ matrix.os }}
path: dist/*.whl
if-no-files-found: error
retention-days: 1

0 comments on commit 2aae61b

Please sign in to comment.