Skip to content

Commit f7a5193

Browse files
committed
update to 2022
1 parent 34477c5 commit f7a5193

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/deployment.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,7 @@ jobs:
104104
if: contains(matrix.os, 'windows')
105105
shell: pwsh
106106
run: |
107-
$exePath1 = "target/${{ matrix.target }}/release/serial-monitor-rust.exe"
108-
$exePath2 = "target/release/serial-monitor-rust.exe"
109-
$exePath = if (Test-Path $exePath1) { $exePath1 } elseif (Test-Path $exePath2) { $exePath2 } else { "" }
110-
if ($exePath -eq "") {
111-
Write-Error "Executable not found"
112-
exit 1
113-
}
114-
Compress-Archive -Path $exePath -DestinationPath "serial-monitor-${{ matrix.target }}.exe.zip"
107+
Compress-Archive -Path "target/${{ matrix.target }}/release/serial-monitor-rust.exe" -DestinationPath "serial-monitor-${{ matrix.target }}.exe.zip"
115108
Move-Item -Path "serial-monitor-${{ matrix.target }}.exe.zip" -Destination $env:GITHUB_WORKSPACE
116109
117110
- name: Compress Output (Windows .msi)

0 commit comments

Comments
 (0)