We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 679bfca commit a517ad2Copy full SHA for a517ad2
action.js
@@ -13,7 +13,7 @@ const stripQuotes = (str) =>
13
const replaceEnvVars = (str) => {
14
const value = str
15
.replaceAll(
16
- /\$\{([a-zA-Z0-9_]+):[+-]:\$[a-zA-Z0-9_]+\}/g,
+ /\$\{([a-zA-Z0-9_]+):\+:\$[a-zA-Z0-9_]+\}/g,
17
(_, key) => ((v) => v ? `:${v}` : "")(process.env[key]),
18
)
19
.replaceAll(/\$\{([a-zA-Z0-9_]+)\}/g, (_, key) => process.env[key] ?? "")
0 commit comments