Skip to content

Commit 80d1d9d

Browse files
committed
Update action to target x64
1 parent 3841365 commit 80d1d9d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/packageManagers.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
2424
$ver = ($response | select-string '"tag_name":').Line.split("`"")[3].Trim('v')
2525
26-
$zip = ($response | Where-Object { $_ -like "*.zip`"" } | Select-Object -Last 1).Split("`"")[3]
27-
$exe = ($response | Where-Object { $_ -like "*.exe`"" } | Select-Object -Last 1).Split("`"")[3]
26+
$zip = ($response | Where-Object { $_ -like "*x64.zip`"" } | Select-Object -Last 1).Split("`"")[3]
27+
$exe = ($response | Where-Object { $_ -like "*x64.exe`"" } | Select-Object -Last 1).Split("`"")[3]
2828
2929
$pattern = '(?s)(?<=<!--HASH-->).*?(?=<!--ENDHASH-->)'
3030
$hash = (($response | select-string '"body"').Line | Select-String -Pattern $pattern | ForEach-Object { $_.Matches.Value.Trim() }).Split("\r\n")
31-
$ziphash = ($hash | select-string "ZIP").Line.Split('|')[1]
32-
$exehash = ($hash | select-string "EXE").Line.Split('|')[1]
31+
$ziphash = ($hash | select-string "x64-ZIP").Line.Split('|')[1]
32+
$exehash = ($hash | select-string "x64-EXE").Line.Split('|')[1]
3333
3434
# chocolatey
3535
echo $ver $zip $ziphash

0 commit comments

Comments
 (0)