Skip to content

Commit 0998fcf

Browse files
committed
Fixing the CI/CD
1 parent 9b6520d commit 0998fcf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/pypi.yml

Lines changed: 5 additions & 4 deletions
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: artifact
3536
path: dist/*.whl
3637
if-no-files-found: error
3738

@@ -46,7 +47,7 @@ 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:
5152
name: artifact
5253
path: dist
@@ -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: artifact
7374
path: dist
7475

7576
- name: Publish package to PyPI

0 commit comments

Comments
 (0)