Skip to content

Commit 47652e0

Browse files
committed
move rsrc step in the CI outside the taskfile
1 parent 584bf2d commit 47652e0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/release.yml

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

63+
- name: Embed manifest in win binary
64+
run: |
65+
go get github.com/akavel/rsrc
66+
rsrc -arch=386 -manifest=manifest.xml
67+
if: matrix.operating-system == 'windows-latest'
68+
6369
- name: Build the Agent for win32
6470
env:
6571
GOARCH: 386 # 32bit architecture

Taskfile.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ tasks:
1515
build-win32:
1616
desc: Build the project for win 32 bit
1717
cmds:
18-
- go get github.com/akavel/rsrc
19-
- rsrc -arch=386 -manifest=manifest.xml
2018
- go build -v -i {{.WIN_LDFLAGS}}
21-
- rm rsrc.syso
2219

2320
test:
2421
desc: Run the full testsuite, `legacy` will be skipped

0 commit comments

Comments
 (0)