Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
nomyfan committed Feb 19, 2024
1 parent 8fd0475 commit c25416e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ jobs:
- name: Archive artifacts
shell: pwsh
run: |
$os = "${{ matrix.os }}"
$isWin = $os.StartsWith("windows-")
$isWin = "${{ matrix.os }}".StartsWith("windows-")
$binaryName = $isWin ? "als.exe" : "als"
$archiveName = $isWin ? "als.zip" : "als.tar.gz"
Expand All @@ -68,6 +67,12 @@ jobs:
tar czf $archivePath $binaryPath
}
- name: List archive
shell: pwsh
run: |
Get-Location
Get-ChildItem $(Join-Path -Path $(Get-Location) -ChildPath target -AdditionalChildPath ${{ matrix.target }},release)
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit c25416e

Please sign in to comment.