Skip to content

Commit f034dea

Browse files
authored
Merge pull request #324 from wouterpeere/wouterpeere-patch-1
Update CD.yml
2 parents e17820f + 8c59440 commit f034dea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/CD.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ jobs:
2424
- name: Build a binary wheel and a source tarball
2525
run: python3 -m build
2626
- name: Store the distribution packages
27-
uses: actions/upload-artifact@v3
27+
uses: actions/upload-artifact@v4
2828
with:
2929
name: python-package-distributions
3030
path: dist/
31+
retention-days: 7 # Set retention period for artifacts
3132

3233
publish-to-testpypi:
3334
needs: build
@@ -41,7 +42,7 @@ jobs:
4142

4243
steps:
4344
- name: Download all the dists
44-
uses: actions/download-artifact@v3
45+
uses: actions/download-artifact@v4
4546
with:
4647
name: python-package-distributions
4748
path: dist/
@@ -64,7 +65,7 @@ jobs:
6465

6566
steps:
6667
- name: Download all the dists
67-
uses: actions/download-artifact@v3
68+
uses: actions/download-artifact@v4
6869
with:
6970
name: python-package-distributions
7071
path: dist/

0 commit comments

Comments
 (0)