From b3e1c4c8e60d486c4050a1291170fb530a14a228 Mon Sep 17 00:00:00 2001 From: giuseppe-g-gelardi Date: Sun, 19 Nov 2023 21:18:46 -0500 Subject: [PATCH] . --- .github/workflows/go.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5baaec9..a497708 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -24,15 +24,21 @@ jobs: - name: Download dependencies run: go mod download + # - name: Build + # run: go build -v ./cmd/session + - name: Build - run: go build -v ./cmd/session + run: go build -v -o session ./cmd/session - name: Install - run: | - go install -v -trimpath -ldflags="-s -w" ./cmd/session - mv $GOPATH/bin/session /usr/local/bin/session + run: mv session /usr/local/bin/session + + # - name: Install + # run: | + # 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 run: | go version - echo $GOPATH/bin/session + echo /usr/local/bin/session