mirror of
https://github.com/elgohr/Publish-Docker-Github-Action.git
synced 2026-03-12 18:07:12 -04:00
Make sure that username and password are masked, before turning on verbose
This commit is contained in:
@@ -5,6 +5,8 @@ main() {
|
||||
echo "" # see https://github.com/actions/toolkit/issues/168
|
||||
|
||||
if usesBoolean "${ACTIONS_STEP_DEBUG}"; then
|
||||
echo "::add-mask::${INPUT_USERNAME}"
|
||||
echo "::add-mask::${INPUT_PASSWORD}"
|
||||
set -x
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user