You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+5-7
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,6 @@ jobs:
19
19
- operating-system: macos-10.15
20
20
21
21
runs-on: ${{ matrix.operating-system }}
22
-
env:
23
-
TAG_VERSION: ${GITHUB_REF##*/} # will be available to all steps and will be used by task build
24
22
25
23
steps:
26
24
- name: Disable EOL conversions
@@ -61,12 +59,12 @@ jobs:
61
59
run: task test-unit
62
60
63
61
- name: Build the Agent for linux
64
-
run: task build
62
+
run: task build TAG_VERSION=${GITHUB_REF##*/}
65
63
if: matrix.operating-system == 'ubuntu-18.04'
66
64
67
65
# build the agent without GUI support (no tray icon)
68
66
- name: Build the Agent-cli
69
-
run: task build-cli
67
+
run: task build-cli TAG_VERSION=${GITHUB_REF##*/}
70
68
if: matrix.operating-system == 'ubuntu-18.04'
71
69
72
70
# the manifest is required by windows GUI apps, otherwise the binary will crash with: "Unable to create main window: TTM_ADDTOOL failed" (for reference https://github.com/lxn/walk/issues/28)
@@ -80,19 +78,19 @@ jobs:
80
78
env:
81
79
GOARCH: 386# 32bit architecture (for support)
82
80
GO386: 387# support old instruction sets without MMX (used in the Pentium 4) (will be deprecated in GO > 1.15 https://golang.org/doc/go1.15)
0 commit comments