Skip to content

Commit

Permalink
fix: force setuptools, different artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
vermut authored May 6, 2024
1 parent 41dcbfe commit 1598f50
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ jobs:
CIBW_ARCHS_LINUX: "auto aarch64"
- uses: actions/upload-artifact@v4
with:
name: python-package-distributions-macos
path: ./wheelhouse/*.whl
- uses: actions/upload-artifact@v4
with:
name: python-package-distributions-linux
name: python-package-distributions-${{ matrix.os }}
path: ./wheelhouse/*.whl


Expand All @@ -69,7 +65,10 @@ jobs:
with:
python-version: "3.x"
- name: Build source distribution
run: python setup.py sdist
run: |
# fix flaky python installation on github actions:
pip install --upgrade --force setuptools
python setup.py sdist
- name: Store the source distribution
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 1598f50

Please sign in to comment.