Skip to content

Commit

Permalink
chore: binary extension
Browse files Browse the repository at this point in the history
  • Loading branch information
nomyfan committed Feb 20, 2024
1 parent f0961c7 commit 7e8b797
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 @@ -76,11 +76,11 @@ jobs:
("${{ matrix.targets }}" -split ",") | ForEach-Object {
$binaryName = "als$ext"
$targetBinaryName = "als-$_"
$targetBinaryName = "als-$_$ext"
Move-Item -Path (Join-Path . target $_ release $binaryName) -Destination (Join-Path . $targetBinaryName)
if ($isWin) {
Compress-Archive -Path (Join-Path -Path . $targetBinaryName) -DestinationPath ".\als-$_.zip"
Compress-Archive -Path (Join-Path . $targetBinaryName) -DestinationPath ".\als-$_.zip"
} else {
tar -czf "./als-$_.tar.gz" $targetBinaryName
}
Expand Down

0 comments on commit 7e8b797

Please sign in to comment.