Skip to content

Commit

Permalink
Merge pull request #29 from Manokii/environment-file-output
Browse files Browse the repository at this point in the history
Use environment file to manage output instead of `set-output`
  • Loading branch information
edif2008 authored Mar 1, 2023
2 parents feb6ed7 + 936f62b commit b308038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ populating_secret() {
# Prepare the secret_value to be outputed properly (especially multiline secrets)
secret_value=$(echo "$secret_value" | awk -v ORS='%0A' '1')

echo "::set-output name=$env_var::$secret_value"
echo "$env_var=$secret_value" >> "$GITHUB_OUTPUT"
fi

managed_variables+=("$env_var")
Expand Down

0 comments on commit b308038

Please sign in to comment.