Skip to content

Commit 4d98e9d

Browse files
committed
fix: specify output filename in go build command
The build command 'go build -v ./cmd' was trying to create an executable named 'cmd' which conflicts with the existing 'cmd' directory. Fix by specifying output filename: 'go build -v -o flashduty-runner ./cmd'
1 parent c2cdaf6 commit 4d98e9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: go test -race -coverprofile=coverage.out ./...
3131

3232
- name: Build
33-
run: go build -v ./cmd
33+
run: go build -v -o flashduty-runner ./cmd
3434

3535
- name: Upload coverage
3636
if: matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)