build: use go install
Some checks failed
Go Bump / bump (push) Successful in 46s
Go Test / test (push) Successful in 57s
Deploy / deploy (push) Failing after 1m19s

This commit is contained in:
xuu 2023-10-15 10:29:54 -06:00
parent 2e79ac4460
commit bc0505d8f2
Signed by: xuu
GPG Key ID: 8B3B0604F164E04F

View File

@ -22,8 +22,10 @@ jobs:
with:
go-version: 1.21.1
- name: Build
run: go build -ldflags "-s -w" -o ./build/ev ./cmd/ev
- name: Install
run: go install -ldflags "-s -w" go.sour.is/tools/cmd/ev@latest
- run: mv $GOPATH/bin/ev build/ev
- name: Compress
uses: https://git.sour.is/actions/ghaction-upx@v2.4.0