From 017dec9092764117eca094a8861f21e34d3999dd Mon Sep 17 00:00:00 2001 From: giuseppe-g-gelardi Date: Sun, 19 Nov 2023 21:14:59 -0500 Subject: [PATCH] one of these will work --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index cd94b9c..5baaec9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,9 +27,9 @@ jobs: - name: Build run: go build -v ./cmd/session - - name: Build and Install + - name: Install run: | - go install ./cmd/session + go install -v -trimpath -ldflags="-s -w" ./cmd/session mv $GOPATH/bin/session /usr/local/bin/session - name: Display Go version and installed binary path