Skip to content

Commit 5bbd44e

Browse files
committed
build windows version for 32bit instead of 64bit (compatibility)
1 parent aa9f440 commit 5bbd44e

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
run: task build-cli
6161
if: matrix.operating-system == 'ubuntu-latest'
6262

63-
- name: Build the Agent for win
64-
run: task build-win
63+
- name: Build the Agent for win32
64+
run: task build-win32
6565
if: matrix.operating-system == 'windows-latest'
6666

6767
- name: Upload artifacts

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
run: task build
5050
if: matrix.operating-system != 'windows-latest'
5151

52-
- name: Build the Agent for win
53-
run: task build-win
52+
- name: Build the Agent for win32
53+
run: task build-win32
5454
if: matrix.operating-system == 'windows-latest'
5555

5656
- name: Run unit tests

Taskfile.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ tasks:
1212
cmds:
1313
- go build -v -i -tags cli -o {{.APP_NAME}}_cli {{.LDFLAGS}}
1414

15-
build-win:
16-
desc: Build the project for win
15+
build-win32:
16+
desc: Build the project for win 32 bit
1717
cmds:
18+
- set GOARCH=386
1819
- go get github.com/akavel/rsrc
1920
- rsrc -arch=386 -manifest=manifest.xml
2021
- go build -v -i {{.WIN_LDFLAGS}}

0 commit comments

Comments
 (0)