Skip to content

Commit 49e123b

Browse files
committed
Fix GitHub workflows
1 parent d3ead36 commit 49e123b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ jobs:
4646
- name: Store distribution
4747
uses: actions/upload-artifact@v6
4848
with:
49-
name: python-package-distributions
49+
name: python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
5050
path: dist/
51+
retention-days: 1
5152

5253
pypi:
5354
name: Publish distribution
@@ -68,8 +69,9 @@ jobs:
6869
- name: Download distribution
6970
uses: actions/download-artifact@v7
7071
with:
71-
name: python-package-distributions
72+
pattern: python-*-package-for-*
7273
path: dist/
74+
merge-multiple: true
7375

7476
- name: Publish distribution to PyPI
7577
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/testpypi.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ jobs:
4646
- name: Store distribution
4747
uses: actions/upload-artifact@v6
4848
with:
49-
name: python-package-distributions
49+
name: python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
5050
path: dist/
51+
retention-days: 1
5152

5253
testpypi:
5354
name: Publish test distribution
@@ -68,8 +69,9 @@ jobs:
6869
- name: Download distribution
6970
uses: actions/download-artifact@v7
7071
with:
71-
name: python-package-distributions
72+
pattern: python-*-package-for-*
7273
path: dist/
74+
merge-multiple: true
7375

7476
- name: Publish distribution to TestPyPI
7577
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)