Skip to content

Commit 05044f5

Browse files
committed
fix: update build commands to specify the target directory for Go binaries
1 parent 38e50cc commit 05044f5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
reproducible: report
107107
instructions: |-
108108
cp LICENSE "$TARGET_DIR/LICENSE.txt"
109-
go build -o "$BIN_PATH" -trimpath -buildvcs=false
109+
go build -o "$BIN_PATH" -trimpath -buildvcs=false ./cmd/go-getter/
110110
111111
build-linux:
112112
needs:
@@ -139,7 +139,7 @@ jobs:
139139
reproducible: report
140140
instructions: |
141141
cp LICENSE "$TARGET_DIR/LICENSE.txt"
142-
go build -o "$BIN_PATH" -trimpath -buildvcs=false
142+
go build -o "$BIN_PATH" -trimpath -buildvcs=false ./cmd/go-getter/
143143
- name: Copy license file to config_dir
144144
if: ${{ matrix.goos == 'linux' }}
145145
env:
@@ -214,5 +214,4 @@ jobs:
214214
reproducible: report
215215
instructions: |
216216
cp LICENSE "$TARGET_DIR/LICENSE.txt"
217-
go build -o "$BIN_PATH" -trimpath -buildvcs=false
218-
217+
go build -o "$BIN_PATH" -trimpath -buildvcs=false ./cmd/go-getter/

0 commit comments

Comments
 (0)