Skip to content

Commit

Permalink
CI: fix regex pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen521kk committed Sep 25, 2022
1 parent d79df6d commit 8744d53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
$stableRelease = $j[$i + 1]
$i = $i + 1
}
$regex32 = '.*scc-.*-i386-pc-windows.zip'
$regex64 = '.*scc-.*-x86_64-pc-windows.zip'
$regex32 = '.*scc_.*_Windows_i386.tar.gz'
$regex64 = '.*scc_.*_Windows_x86_64.tar.gz'
foreach ($asset in $stableRelease.assets) {
if (!($url64)) {
$url64 = Select-String -InputObject $asset.browser_download_url -Pattern $regex64
Expand Down

0 comments on commit 8744d53

Please sign in to comment.