Skip to content

Commit e36e4dc

Browse files
committed
TST: More [build wheels]
1 parent afcc99e commit e36e4dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/wheels.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,19 +130,23 @@ jobs:
130130
- uses: actions/download-artifact@v4
131131
with:
132132
path: dist/
133+
pattern: '*'
134+
merge-multiple: true
133135
- name: Check artifacts
134136
run: ls -lR
135137
- name: Consolidate and re-check
136138
run: |
139+
set -eo pipefail
137140
mv dist/*/*.{tar.gz,whl} dist
138141
rmdir dist/*/
139-
ls -lR
142+
ls -lR dist/
140143
- run: pipx run twine check dist/*
141144

142145
publish:
143146
runs-on: ubuntu-latest
144147
environment: "Package deployment"
145148
needs: [pre-publish]
149+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
146150
steps:
147151
- uses: actions/download-artifact@v4
148152
with:
@@ -159,4 +163,3 @@ jobs:
159163
with:
160164
user: __token__
161165
password: ${{ secrets.PYPI_API_TOKEN }}
162-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)