mirror of
https://gitcode.com/gh_mirrors/gh/gh-action-pypi-publish.git
synced 2026-07-02 18:27:49 +00:00
Protect env vars in Twine invocation
This commit is contained in:
committed by
GitHub
parent
4820c8c9b0
commit
8e9ff975ca
+3
-3
@@ -1,7 +1,7 @@
|
||||
#! /usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
TWINE_USERNAME=$INPUT_USER \
|
||||
TWINE_PASSWORD=$INPUT_PASSWORD \
|
||||
TWINE_REPOSITORY_URL=$INPUT_REPOSITORY_URL \
|
||||
TWINE_USERNAME="$INPUT_USER" \
|
||||
TWINE_PASSWORD="$INPUT_PASSWORD" \
|
||||
TWINE_REPOSITORY_URL="$INPUT_REPOSITORY_URL" \
|
||||
exec twine upload dist/*
|
||||
|
||||
Reference in New Issue
Block a user