This commit is contained in:
parent
26e36b2f32
commit
c8140a5588
@ -12,15 +12,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Golang And Build Projector
|
- name: Install Golang
|
||||||
run:
|
run: |
|
||||||
uname -a
|
wget "https://go.dev/dl/go1.22.5.linux-amd64.tar.gz"
|
||||||
&& lsb_release -a
|
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz
|
||||||
&& wget "https://go.dev/dl/go1.22.5.linux-amd64.tar.gz"
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
&& rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz
|
which go
|
||||||
&& export PATH=$PATH:/usr/local/go/bin
|
go version
|
||||||
&& which go
|
- name: Build Linux Project
|
||||||
&& go version
|
run: |
|
||||||
&& 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