diff --git a/.github/actions/gcp-secret-get/action.yml b/.github/actions/gcp-secret-get/action.yml index 4e386c8..73ff0cf 100644 --- a/.github/actions/gcp-secret-get/action.yml +++ b/.github/actions/gcp-secret-get/action.yml @@ -55,6 +55,10 @@ runs: # node rather than jq: node ships wherever the sf CLI runs, containers # included, so this works on images that carry no jq (matches the # convention in sf-org-login's "Resolve org identity" step). + # Every field is written using $GITHUB_ENV'\''s multiline heredoc form + # (NAME< 0) console.log(`::add-mask::${line}`); + } + const delimiter = `ghadelim_${crypto.randomBytes(16).toString("hex")}`; + lines.push(`${key.toUpperCase()}<<${delimiter}`, stringValue, delimiter); } fs.appendFileSync(process.env.GITHUB_ENV, lines.join("\n") + "\n"); '