Skip to content

Commit 40435f5

Browse files
committed
Upload Windows wheel artifacts.
Keep these for 7 days in case anyone is testing them this way.
1 parent 45d308b commit 40435f5

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,13 @@ jobs:
152152
with:
153153
name: sdist
154154
path: dist/tcod-*.tar.gz
155-
retention-days: 3
155+
retention-days: 7
156+
- uses: actions/upload-artifact@v2
157+
if: runner.os == 'Windows'
158+
with:
159+
name: wheels-windows
160+
path: dist/*.whl
161+
retention-days: 7
156162

157163
isolated: # Test installing the package from source.
158164
needs: build
@@ -224,9 +230,9 @@ jobs:
224230
- name: Archive wheel
225231
uses: actions/upload-artifact@v2
226232
with:
227-
name: wheel-linux
233+
name: wheels-linux
228234
path: wheelhouse/*.whl
229-
retention-days: 1
235+
retention-days: 7
230236
- name: Upload to PyPI
231237
if: startsWith(github.ref, 'refs/tags/')
232238
env:
@@ -266,9 +272,9 @@ jobs:
266272
- name: Archive wheel
267273
uses: actions/upload-artifact@v2
268274
with:
269-
name: wheel-macos
275+
name: wheels-macos
270276
path: wheelhouse/*.whl
271-
retention-days: 1
277+
retention-days: 7
272278
- name: Upload to PyPI
273279
if: startsWith(github.ref, 'refs/tags/')
274280
env:

0 commit comments

Comments
 (0)