Skip to content

Commit 9127e87

Browse files
committed
Fixing the CI/CD
1 parent 27ffd31 commit 9127e87

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/pypi.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ jobs:
3030
python -m build --wheel .
3131
3232
- name: Save sdist
33-
uses: actions/upload-artifact@v2
33+
uses: actions/upload-artifact@v4
3434
with:
35+
name: artifacts-${{ matrix.python }}
3536
path: dist/*.whl
3637
if-no-files-found: error
3738

@@ -46,9 +47,9 @@ jobs:
4647
id-token: write
4748
if: github.ref == 'refs/heads/main'
4849
steps:
49-
- uses: actions/download-artifact@v2
50+
- uses: actions/download-artifact@v4
5051
with:
51-
name: artifact
52+
pattern: artifacts-*
5253
path: dist
5354

5455
- name: Publish package to TestPyPI
@@ -67,9 +68,9 @@ jobs:
6768
id-token: write
6869
if: startsWith(github.ref, 'refs/tags/v')
6970
steps:
70-
- uses: actions/download-artifact@v2
71+
- uses: actions/download-artifact@v4
7172
with:
72-
name: artifact
73+
pattern: artifacts-*
7374
path: dist
7475

7576
- name: Publish package to PyPI

0 commit comments

Comments
 (0)