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 66f0b93 commit 24ac5c7Copy full SHA for 24ac5c7
.github/workflows/release.yml
@@ -23,11 +23,14 @@ jobs:
23
run: go mod tidy
24
25
- name: Build binary and set main.Version and main.BuildTime
26
+ env:
27
+ CGO_ENABLED: 0
28
run: |
29
TAG_NAME=${GITHUB_REF#refs/tags/}
30
BUILD_TIME=$(date +%Y-%m-%dT%H:%M:%SZ)
31
GOOS=linux GOARCH=amd64 go build -ldflags="-w -s -X main.Version=${TAG_NAME} -X main.BuildTime=${BUILD_TIME}" -o iot-ephemeral-value-store-server main.go
32
chmod +x iot-ephemeral-value-store-server
33
+
34
35
- name: Package files
36
run: tar czvf iot-ephemeral-value-store-server.tar.gz iot-ephemeral-value-store-server
0 commit comments