We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a862dd commit 3eb2a3aCopy full SHA for 3eb2a3a
.harness/harness.yaml
@@ -50,6 +50,28 @@ pipeline:
50
image: golang:1.20
51
shell: Sh
52
command: go test -cover ./...
53
+ - step:
54
+ name: Build and test binaries
55
+ identifier: Build_test_binaries
56
+ type: Run
57
+ spec:
58
+ connectorRef: Plugins_Docker_Hub_Connector
59
+ image: golang:1.20
60
+ shell: Sh
61
+ command: |-
62
+ # force go modules
63
+ export GOPATH=""
64
+
65
+ # disable cgo
66
+ export CGO_ENABLED=0
67
68
+ set -e
69
+ set -x
70
71
+ # linux
72
+ export GOOS=linux GOARCH=amd64
73
+ go build -v -ldflags "-X main.version=" -a -tags netgo -o release/linux/amd64/drone-github-release ./cmd/drone-github-release
74
+ ./release/linux/amd64/drone-github-release --help
75
description: ""
76
- parallel:
77
- stage:
0 commit comments