Skip to content

Commit

Permalink
TST: More [build wheels]
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Nov 6, 2024
1 parent afcc99e commit e36e4dc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,19 +130,23 @@ jobs:
- uses: actions/download-artifact@v4
with:
path: dist/
pattern: '*'
merge-multiple: true
- name: Check artifacts
run: ls -lR
- name: Consolidate and re-check
run: |
set -eo pipefail
mv dist/*/*.{tar.gz,whl} dist
rmdir dist/*/
ls -lR
ls -lR dist/
- run: pipx run twine check dist/*

publish:
runs-on: ubuntu-latest
environment: "Package deployment"
needs: [pre-publish]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v4
with:
Expand All @@ -159,4 +163,3 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')

0 comments on commit e36e4dc

Please sign in to comment.