Skip to content

Commit

Permalink
test alt approach
Browse files Browse the repository at this point in the history
  • Loading branch information
thetoolsmith committed Jan 24, 2025
1 parent 20ad67a commit eebfbf7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/mask_secrets/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ runs:
IFS='#' read -a secrets <<< "$MODIFIED_INPUT"
for s in "${secrets[@]}"; do
var=(${s//,/ })
#echo "$var ......."
val=$(eval echo \$$var)
echo "masking $val ......."
echo -e "::add-mask::$val"
echo "register mask $var = $val"
echo -e "::add-mask::${val}"
done
shell: bash

0 comments on commit eebfbf7

Please sign in to comment.