Skip to content

Commit ae1ddc1

Browse files
committed
add uncompressed version for windows binary; add suffix to windows binaries
1 parent 324cb6b commit ae1ddc1

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,20 @@ jobs:
7979
shell: powershell
8080

8181
# Build
82-
- name: Common - Build
82+
- name: Linux - Build
83+
if: runner.os == 'Linux'
8384
shell: bash
84-
# compression will warn if upx is not installed (windows/macOS) but will not break the build
8585
run: wails build -platform ${{ matrix.build.platform }} -upx -o ${{ matrix.build.name }}
86+
- name: Windows - Build
87+
if: runner.os == 'Windows'
88+
shell: bash
89+
run: |
90+
wails build -platform ${{ matrix.build.platform }} -o ${{ matrix.build.name }}.exe
91+
wails build -platform ${{ matrix.build.platform }} -upx -o ${{ matrix.build.name }}-compressed.exe
92+
- name: MacOS - Build
93+
if: runner.os == 'macOS'
94+
shell: bash
95+
run: wails build -platform ${{ matrix.build.platform }} -o ${{ matrix.build.name }}
8696

8797
# Package MacOS
8898
- name: MacOS - Build .app zip file

0 commit comments

Comments
 (0)