Skip to content

Commit 8e9ff97

Browse files
authored
Protect env vars in Twine invocation
1 parent 4820c8c commit 8e9ff97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

twine-upload.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env bash
22
set -Eeuo pipefail
33

4-
TWINE_USERNAME=$INPUT_USER \
5-
TWINE_PASSWORD=$INPUT_PASSWORD \
6-
TWINE_REPOSITORY_URL=$INPUT_REPOSITORY_URL \
4+
TWINE_USERNAME="$INPUT_USER" \
5+
TWINE_PASSWORD="$INPUT_PASSWORD" \
6+
TWINE_REPOSITORY_URL="$INPUT_REPOSITORY_URL" \
77
exec twine upload dist/*

0 commit comments

Comments
 (0)