2929
3030      - name : Build 
3131        run : | 
32-           cp -r templates/* superduper/templates/ 
3332          python -m build 
3433
3534#  smoke-test that build is valid
3938          # check-wheel-contents dist 
4039
4140      - name : Upload artifact 
42-         uses : actions/upload-artifact@v3  
41+         uses : actions/upload-artifact@v4  
4342        with :
4443          path : ./dist 
4544
@@ -61,10 +60,16 @@ jobs:
6160
6261        #  Artifacts located in artifact/
6362      - name : Download artifact 
64- 63+         uses : actions/download-artifact@v4 
64+         with :
65+           name : artifact 
66+           path : artifact 
67+ 
68+       - name : check 
69+         run : ls -R ./artifact 
6570
6671      - name : Install wheel 
67-         run : python -m pip install artifact/*.whl 
72+         run : python -m pip install ./ artifact/*.whl 
6873
6974      - name : Set version for tagging 
7075        id : set-version 
@@ -103,7 +108,10 @@ jobs:
103108
104109#  Artifacts located in artifact/
105110      - name : Download artifact 
106-         uses : actions/download-artifact@v3 
111+         uses : actions/download-artifact@v4 
112+         with :
113+           name : artifact 
114+           path : artifact 
107115
108116      - name : create release 
109117        run : > 
@@ -126,7 +134,10 @@ jobs:
126134    permissions :
127135      id-token : write 
128136    steps :
129-       - uses : actions/download-artifact@v3 
137+       - uses : actions/download-artifact@v4 
138+         with :
139+           name : artifact 
140+           path : artifact 
130141      #  Try uploading to Test PyPI first, in case something fails.
131142      - uses : pypa/gh-action-pypi-publish@release/v1 
132143        with :
@@ -138,4 +149,4 @@ jobs:
138149
139150      - uses : pypa/gh-action-pypi-publish@release/v1 
140151        with :
141-           packages-dir : artifact/ 
152+           packages-dir : artifact/ 
0 commit comments