Skip to content

Commit 03223bd

Browse files
author
John Doe
committed
ci: remove garble — obfuscation caused 5 new AV detections, revert to plain go build
1 parent ac5d2e4 commit 03223bd

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ jobs:
5555
go mod download
5656
(cd ../gust-x && go mod download)
5757
58-
- name: Install garble
59-
run: go install mvdan.cc/garble@v0.15.0
60-
6158
- name: Build targets
6259
shell: bash
6360
run: |
@@ -103,11 +100,11 @@ jobs:
103100
fi
104101
rm -f "$BIN"
105102
106-
# Build portyd (standalone porty server) from gust-x using garble
103+
# Build portyd (standalone porty server) from gust-x
107104
PORTYD_BIN="dist/portyd-${NAME}${EXT}"
108105
echo "building portyd-${NAME}..."
109106
(cd ../gust-x && env CGO_ENABLED=0 GOOS="$GOOS" GOARCH="$GOARCH" $extra_env \
110-
garble -tiny -seed=random build -trimpath \
107+
go build -trimpath -ldflags="-s -w" \
111108
-o "$GITHUB_WORKSPACE/$PORTYD_BIN" ./cmd/portyd)
112109
113110
if [[ "$GOOS" == "windows" ]]; then

0 commit comments

Comments
 (0)