@@ -132,25 +132,25 @@ jobs:
132132 uses : wamp-proto/wamp-cicd/actions/download-artifact-verified@main
133133 with :
134134 name : ${{ needs.check-main-workflow.outputs.artifact_dist }}
135- path : dist/
135+ path : ${{ github.workspace }}/dist
136136 run-id : ${{ needs.check-main-workflow.outputs.main_run_id }}
137137
138138 - name : List downloaded packages
139139 run : |
140140 echo "Downloaded packages:"
141- ls -lh dist/
141+ ls -lh ${{ github.workspace }}/ dist/
142142
143143 - name : Validate release fileset
144144 uses : wamp-proto/wamp-cicd/actions/check-release-fileset@main
145145 with :
146- dist-path : dist/
146+ dist-path : ${{ github.workspace }}/dist
147147 expected-wheels : 1
148148 expected-sdists : 1
149149 wheel-pattern : " py3-none-any"
150150
151151 - name : Generate checksums
152152 run : |
153- cd dist
153+ cd ${{ github.workspace }}/ dist
154154 sha256sum * > CHECKSUMS-ALL.sha256
155155 cat CHECKSUMS-ALL.sha256
156156
@@ -180,7 +180,7 @@ jobs:
180180 - SHA256 checksums (CHECKSUMS-ALL.sha256)
181181
182182 ⚠️ This is a development build - for production use, install from PyPI.
183- files : dist/*
183+ files : ${{ github.workspace }}/ dist/*
184184 draft : false
185185 prerelease : true
186186 discussion_category_name : ci-cd
@@ -225,25 +225,25 @@ jobs:
225225 uses : wamp-proto/wamp-cicd/actions/download-artifact-verified@main
226226 with :
227227 name : ${{ needs.check-main-workflow.outputs.artifact_dist }}
228- path : dist/
228+ path : ${{ github.workspace }}/dist
229229 run-id : ${{ needs.check-main-workflow.outputs.main_run_id }}
230230
231231 - name : List downloaded packages
232232 run : |
233233 echo "Downloaded packages:"
234- ls -lh dist/
234+ ls -lh ${{ github.workspace }}/ dist/
235235
236236 - name : Validate release fileset
237237 uses : wamp-proto/wamp-cicd/actions/check-release-fileset@main
238238 with :
239- dist-path : dist/
239+ dist-path : ${{ github.workspace }}/dist
240240 expected-wheels : 1
241241 expected-sdists : 1
242242 wheel-pattern : " py3-none-any"
243243
244244 - name : Generate checksums (for GitHub release)
245245 run : |
246- cd dist
246+ cd ${{ github.workspace }}/ dist
247247 sha256sum * > CHECKSUMS-ALL.sha256
248248 cat CHECKSUMS-ALL.sha256
249249
@@ -292,7 +292,7 @@ jobs:
292292 See [CHANGELOG](https://github.com/crossbario/cfxdb/blob/master/CHANGELOG.md) for details.
293293
294294 Also published to PyPI: https://pypi.org/project/cfxdb/
295- files : dist/*
295+ files : ${{ github.workspace }}/ dist/*
296296 draft : false
297297 prerelease : false
298298 discussion_category_name : ci-cd
@@ -304,18 +304,18 @@ jobs:
304304 echo "======================================================================"
305305 echo "Removing files that PyPI doesn't accept"
306306 echo "======================================================================"
307- rm -f dist/CHECKSUMS*.sha256
307+ rm -f ${{ github.workspace }}/ dist/CHECKSUMS*.sha256
308308 echo ""
309309 echo "Files to upload to PyPI:"
310- ls -lh dist/
310+ ls -lh ${{ github.workspace }}/ dist/
311311 echo "======================================================================"
312312
313313 - name : Publish to PyPI
314314 uses : pypa/gh-action-pypi-publish@release/v1
315315 with :
316316 # Use OIDC trusted publishing (no password needed)
317317 # Automatically generates and uploads attestations
318- packages-dir : dist/
318+ packages-dir : ${{ github.workspace }}/ dist/
319319 verify-metadata : true
320320 skip-existing : false
321321 print-hash : true
0 commit comments