diff --git a/action.yml b/action.yml index eb74636..99f977f 100644 --- a/action.yml +++ b/action.yml @@ -57,11 +57,11 @@ runs: continue fi - echo "🔍 Retrieving secret: $SECRET_ID..." + echo "🔍 Retrieving secret: $SECRET_ID" SECRET_VALUE=$(bw get notes "$SECRET_ID" --session "$BW_SESSION" 2>/dev/null) if [[ -n "$SECRET_VALUE" ]]; then - echo "$ENV_VAR=\"$SECRET_VALUE\"" >> "$GITHUB_ENV" + echo "$ENV_VAR=${SECRET_VALUE}" >> "$GITHUB_ENV" echo "✅ Stored $SECRET_ID in $ENV_VAR" else echo "❌ Failed to retrieve secret: $SECRET_ID"