fix(ci): fix wrong powershell command

This commit is contained in:
Federico Terzi 2021-10-03 15:56:09 +02:00
parent dd6bb013ab
commit 1f2532f32f

View File

@ -51,9 +51,10 @@ jobs:
- name: Create portable mode archive
shell: powershell
run: |
Rename-Item target/windows/portable target/windows/espanso-portable
Rename-Item target/windows/portable espanso-portable
Compress-Archive target/windows/espanso-portable 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