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 9e0a4e7 commit 3102118Copy full SHA for 3102118
.harness/harness.yaml
@@ -38,6 +38,28 @@ pipeline:
38
image: golang:1.21
39
shell: Sh
40
command: go test -cover ./...
41
+ - step:
42
+ name: Build and test binaries
43
+ identifier: Build_test_binaries
44
+ type: Run
45
+ spec:
46
+ connectorRef: Plugins_Docker_Hub_Connector
47
+ image: golang:1.21
48
+ shell: Sh
49
+ command: |-
50
+ # force go modules
51
+ export GOPATH=""
52
+
53
+ # disable cgo
54
+ export CGO_ENABLED=0
55
56
+ set -e
57
+ set -x
58
59
+ # linux
60
+ export GOOS=linux GOARCH=amd64
61
+ go build -v -a -tags netgo -o release/linux/amd64/drone-github-release-download ./cmd/drone-github-release-download
62
+ ./release/linux/amd64/drone-github-release-download --help
63
description: ""
64
- parallel:
65
- stage:
0 commit comments