CI: add debug step to diagnose directory not found
Some checks failed
Release / build (push) Failing after 41s
Some checks failed
Release / build (push) Failing after 41s
This commit is contained in:
@@ -27,6 +27,14 @@ jobs:
|
||||
go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.41.1
|
||||
echo "$GOPATH/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Debug workspace
|
||||
run: |
|
||||
echo "pwd: $(pwd)"
|
||||
echo "go version: $(go version)"
|
||||
ls -la
|
||||
ls -la cmd/
|
||||
cat go.mod
|
||||
|
||||
- name: Build Linux binaries
|
||||
run: |
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o syncwarden ./cmd/syncwarden
|
||||
|
||||
Reference in New Issue
Block a user