We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac5d2e4 commit 03223bdCopy full SHA for 03223bd
1 file changed
.github/workflows/release.yml
@@ -55,9 +55,6 @@ jobs:
55
go mod download
56
(cd ../gust-x && go mod download)
57
58
- - name: Install garble
59
- run: go install mvdan.cc/garble@v0.15.0
60
-
61
- name: Build targets
62
shell: bash
63
run: |
@@ -103,11 +100,11 @@ jobs:
103
100
fi
104
101
rm -f "$BIN"
105
102
106
- # Build portyd (standalone porty server) from gust-x using garble
+ # Build portyd (standalone porty server) from gust-x
107
PORTYD_BIN="dist/portyd-${NAME}${EXT}"
108
echo "building portyd-${NAME}..."
109
(cd ../gust-x && env CGO_ENABLED=0 GOOS="$GOOS" GOARCH="$GOARCH" $extra_env \
110
- garble -tiny -seed=random build -trimpath \
+ go build -trimpath -ldflags="-s -w" \
111
-o "$GITHUB_WORKSPACE/$PORTYD_BIN" ./cmd/portyd)
112
113
if [[ "$GOOS" == "windows" ]]; then
0 commit comments