Skip to content

Commit bb43c30

Browse files
committed
D
1 parent f4045da commit bb43c30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/create-outdated-packages-issue.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ jobs:
4040
$end = $json.body.IndexOf("-->") + 3;
4141
$header = $json.body.Substring($start, $end - $start)
4242
$hash = $header.Split("hash:")[1].Split("`n")[0].Trim();
43-
"ISSUE_NUMBER=$($json.number)
44-
ISSUE_HASH=$hash" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append;
43+
echo ISSUE_HASH=$hash >> $env:GITHUB_OUTPUT;
44+
echo ISSUE_NUMBER=$json.number >> $env:GITHUB_OUTPUT;
45+
# "ISSUE_HASH=$hash" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append;
4546
echo "Existing issue detected: `n - number: $($json.number)`n - hash: $hash";
4647
shell: pwsh
4748
env:

0 commit comments

Comments
 (0)