fix: use environment file to manage output
resolves 1Password/load-secrets-action#27
This commit is contained in:
committed by
GitHub
parent
0a7975f916
commit
936f62b7d9
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user