Update .gitea/workflows/build.yml

This commit is contained in:
Greg Gauthier 2024-07-21 10:47:42 +00:00
parent d335051712
commit 1c0c3ef436

View File

@ -7,14 +7,18 @@ env:
jobs:
build:
runs-on: golang-latest
runs-on: ubuntu-gitea
steps:
- uses: actions/checkout@v2
- name: Install Golang And Build
- name: Install Golang And Build Projector
run:
go version \
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
&& which go \
&& go version \
&& mkdir ./build \
&& go mod tidy \
&& go build -a -V -o ./build/ .