29
29
30
30
- name : Build
31
31
run : |
32
- cp -r templates/* superduper/templates/
33
32
python -m build
34
33
35
34
# smoke-test that build is valid
39
38
# check-wheel-contents dist
40
39
41
40
- name : Upload artifact
42
- uses : actions/upload-artifact@v3
41
+ uses : actions/upload-artifact@v4
43
42
with :
44
43
path : ./dist
45
44
@@ -61,10 +60,16 @@ jobs:
61
60
62
61
# Artifacts located in artifact/
63
62
- name : Download artifact
64
- uses : actions/download-artifact@v4.1.7
63
+ uses : actions/download-artifact@v4
64
+ with :
65
+ name : artifact
66
+ path : artifact
67
+
68
+ - name : check
69
+ run : ls -R ./artifact
65
70
66
71
- name : Install wheel
67
- run : python -m pip install artifact/*.whl
72
+ run : python -m pip install ./ artifact/*.whl
68
73
69
74
- name : Set version for tagging
70
75
id : set-version
@@ -103,7 +108,10 @@ jobs:
103
108
104
109
# Artifacts located in artifact/
105
110
- name : Download artifact
106
- uses : actions/download-artifact@v3
111
+ uses : actions/download-artifact@v4
112
+ with :
113
+ name : artifact
114
+ path : artifact
107
115
108
116
- name : create release
109
117
run : >
@@ -126,7 +134,10 @@ jobs:
126
134
permissions :
127
135
id-token : write
128
136
steps :
129
- - uses : actions/download-artifact@v3
137
+ - uses : actions/download-artifact@v4
138
+ with :
139
+ name : artifact
140
+ path : artifact
130
141
# Try uploading to Test PyPI first, in case something fails.
131
142
- uses : pypa/gh-action-pypi-publish@release/v1
132
143
with :
@@ -138,4 +149,4 @@ jobs:
138
149
139
150
- uses : pypa/gh-action-pypi-publish@release/v1
140
151
with :
141
- packages-dir : artifact/
152
+ packages-dir : artifact/
0 commit comments