This commit is contained in:
parent
26e36b2f32
commit
c8140a5588
@ -12,15 +12,15 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Golang And Build Projector
|
||||
run:
|
||||
uname -a
|
||||
&& lsb_release -a
|
||||
&& 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/ .
|
||||
- name: Install Golang
|
||||
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
|
||||
which go
|
||||
go version
|
||||
- name: Build Linux Project
|
||||
run: |
|
||||
mkdir ./build
|
||||
go mod tidy
|
||||
go build -a -v -o ./build/ .
|
||||
|
Loading…
Reference in New Issue
Block a user