We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58f76c7 commit 8820ee1Copy full SHA for 8820ee1
1 file changed
.github/workflows/main.yaml
@@ -55,8 +55,12 @@ jobs:
55
run: |
56
mkdir -p bin
57
cd cmd
58
- CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ../bin/speedtest-${{ matrix.goos }}-${{ matrix.goarch }} -v -ldflags="-extldflags=-static" .
59
-
+ CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build \
+ -o ../bin/speedtest-${{ matrix.goos }}-${{ matrix.goarch }} \
60
+ -v \
61
+ -ldflags="-extldflags=-static -s -w" \
62
+ -trimpath \
63
+ .
64
- name: Upload New Assets
65
66
release_id=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/oneclickvirt/speedtest/releases/tags/output" | jq -r '.id')
@@ -129,4 +133,4 @@ jobs:
129
133
# goarm: 6
130
134
# - goos: linux
131
135
# goarch: arm
132
- # goarm: 5
136
+ # goarm: 5
0 commit comments