Update .gitea/workflows/build.yml
This commit is contained in:
parent
1d77064600
commit
632f8f8390
@ -14,16 +14,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Golang And Build Projector
|
- name: Install Golang And Build Projector
|
||||||
run:
|
run:
|
||||||
uname -a \
|
uname -a
|
||||||
lsb_release -a \
|
&& lsb_release -a
|
||||||
nslookup go.dev \
|
&& nslookup go.dev
|
||||||
&& wget "https://go.dev/dl/go1.22.5.linux-amd64.tar.gz" \
|
&& 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 \
|
&& rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz
|
||||||
&& export PATH=$PATH:/usr/local/go/bin
|
&& export PATH=$PATH:/usr/local/go/bin
|
||||||
&& which go \
|
&& which go
|
||||||
&& go version \
|
&& go version
|
||||||
&& mkdir ./build \
|
&& mkdir ./build
|
||||||
&& go mod tidy \
|
&& go mod tidy
|
||||||
&& go build -a -V -o ./build/ .
|
&& go build -a -V -o ./build/ .
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user