From c73a95d66af75a52349e2842b5184fe0f345b966 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sun, 3 Oct 2021 16:44:30 +0200 Subject: [PATCH] fix(ci): fix broken path in Windows pipeline --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28b62a5..93413d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,13 +52,20 @@ jobs: shell: powershell run: | Rename-Item target/windows/portable espanso-portable - Compress-Archive target/windows/espanso-portable Espanso-Win-Portable-x86_64.zip + Compress-Archive target/windows/espanso-portable target/windows/Espanso-Win-Portable-x86_64.zip - name: Calculate hashes shell: powershell run: | Get-FileHash target/windows/Espanso-Win-Portable-x86_64.zip -Algorithm SHA256 | select-object -ExpandProperty Hash > target/windows/Espanso-Win-Portable-x86_64.zip.sha256.txt Get-FileHash target/windows/Espanso-Win-Installer-x86_64.exe -Algorithm SHA256 | select-object -ExpandProperty Hash > target/windows/Espanso-Win-Installer-x86_64.exe.sha256.txt - - name: Upload artifacts + - uses: actions/upload-artifact@v2 + name: "Upload artifacts" + with: + name: Windows Installer and Portable + path: | + target/windows/Espanso-Win-Installer-x86_64.exe + target/windows/Espanso-Win-Portable-x86_64.zip + - name: Upload artifacts to Github Releases run: | gh release upload ${{ needs.extract-version.outputs.espanso_version }} target/windows/installer/Espanso-Win-Installer-x86_64.exe target/windows/installer/Espanso-Win-Portable-x86_64.zip target/windows/installer/Espanso-Win-Installer-x86_64.exe.sha256.txt target/windows/installer/Espanso-Win-Portable-x86_64.zip.sha256.txt # macos-intel: