File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,23 @@ jobs:
8585 run : |
8686 wails build -clean -nsis -webview2 embed
8787
88+ - name : Show build files (Windows)
89+ if : runner.os == 'Windows'
90+ shell : powershell
91+ run : |
92+ Get-ChildItem ./build/bin -Recurse -Force
93+
8894 - name : Rename Windows Installer
8995 if : runner.os == 'Windows'
9096 working-directory : ./build/bin
9197 shell : powershell
9298 run : |
93- Rename-Item -Path "*-installer.exe" -NewName "${{ env.BUILD_NAME }}.exe"
99+ $installer = Get-ChildItem "*-installer.exe" | Select-Object -First 1
100+ if ($null -eq $installer) {
101+ Write-Error "Installer not found!"
102+ exit 1
103+ }
104+ Rename-Item -Path $installer.FullName -NewName "${{ env.BUILD_NAME }}.exe"
94105
95106 - name : Install nfpm (Linux)
96107 if : runner.os == 'Linux'
You can’t perform that action at this time.
0 commit comments