File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 30
30
python -m build --wheel .
31
31
32
32
- name : Save sdist
33
- uses : actions/upload-artifact@v2
33
+ uses : actions/upload-artifact@v4
34
34
with :
35
+ name : artifacts-${{ matrix.python }}
35
36
path : dist/*.whl
36
37
if-no-files-found : error
37
38
46
47
id-token : write
47
48
if : github.ref == 'refs/heads/main'
48
49
steps :
49
- - uses : actions/download-artifact@v2
50
+ - uses : actions/download-artifact@v4
50
51
with :
51
- name : artifact
52
+ pattern : artifacts-*
52
53
path : dist
53
54
54
55
- name : Publish package to TestPyPI
67
68
id-token : write
68
69
if : startsWith(github.ref, 'refs/tags/v')
69
70
steps :
70
- - uses : actions/download-artifact@v2
71
+ - uses : actions/download-artifact@v4
71
72
with :
72
- name : artifact
73
+ pattern : artifacts-*
73
74
path : dist
74
75
75
76
- name : Publish package to PyPI
You can’t perform that action at this time.
0 commit comments