We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 534b690 commit 48790d7Copy full SHA for 48790d7
src/set_output_variable.ps1
@@ -12,15 +12,16 @@ $trimArg = "$invovationPath" + "\trim_arg.ps1";
12
13
$trimmed_name = & $trimArg -arg $name;
14
$trimmed_val = & $trimArg -arg $val;
15
-if ($replace -ne "") {
16
- $trimmed_val = $trimmed_val.replace($replace, $with);
+if ( $replace -ne "" ) {
+ $trimmed_val = $trimmed_val -replace $replace, $with, "IgnoreCase";
17
}
18
19
function toGitHub {
20
param(
21
$output_name,
22
$output_value
23
)
24
+ Write-Output "$output_name=$output_value"
25
"$output_name=$output_value" >> $env:GITHUB_OUTPUT;
26
27
0 commit comments