File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments