We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a26bf6 commit 55ccf46Copy full SHA for 55ccf46
1 file changed
bin/release.sh
@@ -286,6 +286,12 @@ publish_artifacts() {
286
return 1
287
fi
288
UV_PUBLISH_TOKEN="${pypi_token}" uv publish --username=__token__ "${artifacts[@]}"
289
+ elif [[ "${GITHUB_ACTIONS:-}" == "true" ]]; then
290
+ if [[ ! -e "${artifacts[0]}" ]]; then
291
+ echo "Missing build artifacts for ${PYPI_PACKAGE}==${version} in ${WORKSPACE_DIR}/dist" >&2
292
+ return 1
293
+ fi
294
+ uv publish --trusted-publishing always "${artifacts[@]}"
295
else
296
echo "Missing PyPI credentials: set UV_PUBLISH_TOKEN or PYPI_TOKEN" >&2
297
0 commit comments