Skip to content

Commit 386423e

Browse files
committed
chore(build): update build options for cross-platform compatibility
- Modified BUILD_OPTIONS to include both Windows and Linux platforms - Ensured proper environment variable usage in the build step
1 parent 463337c commit 386423e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
sudo apt-get -yq update
2525
sudo apt-get -yq install libgtk-3-0 libwebkit2gtk-4.1-dev gcc-aarch64-linux-gnu mingw-w64
26-
echo "BUILD_OPTIONS='-nsis -platform windows/amd64 -platform linux/amd64'" >> "$GITHUB_OUTPUT"
26+
echo "BUILD_OPTIONS='-nsis -platform windows/amd64,linux/amd64'" >> "$GITHUB_OUTPUT"
2727
shell: bash
2828

2929
- name: Setup GoLang
@@ -44,7 +44,9 @@ jobs:
4444
shell: bash
4545

4646
- name: Build app
47-
run: wails build ${{ steps.linux_setup.outputs.BUILD_OPTIONS }}
47+
env:
48+
BUILD_OPTIONS: ${{ steps.linux_setup.outputs.BUILD_OPTIONS }}
49+
run: wails build $BUILD_OPTIONS
4850
shell: bash
4951

5052
- uses: actions/cache@v4

0 commit comments

Comments
 (0)