Update .gitea/workflows/build.yml

This commit is contained in:
Greg Gauthier 2024-07-21 03:05:32 +00:00
parent 9b4f7ebe15
commit 6a3d10fe62

View File

@ -14,9 +14,13 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install Golang Essentials - name: Install Golang Essentials
run: wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz && rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz && export PATH=$PATH:/usr/local/go/bin && go version run:
run: wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz
rm -rf /usr/local/go
tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version
mkdir ./build mkdir ./build
go mod tidy go mod tidy
go build -a -V -o ./build/ . go build -a -V -o ./build/ .