From c25416e526bb7729926c4c3c5ee0329958558c7c Mon Sep 17 00:00:00 2001 From: nomyfan Date: Mon, 19 Feb 2024 19:26:53 +0800 Subject: [PATCH] . --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3bb2df..a9236cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" @@ -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: