Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-g-gelardi committed Nov 20, 2023
1 parent 017dec9 commit b3e1c4c
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b3e1c4c

Please sign in to comment.