Update .gitea/workflows/build.yml
This commit is contained in:
parent
20725cc1a0
commit
9b4f7ebe15
@ -11,16 +11,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone The Repo
|
- name: Clone The Repo
|
||||||
run: echo "Cloning the repo..."
|
|
||||||
- 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
|
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
|
||||||
|
|
||||||
- name: Test Go installation
|
|
||||||
run: go version
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run:
|
run:
|
||||||
mkdir ./build
|
mkdir ./build
|
||||||
go mod tidy
|
go mod tidy
|
||||||
|
Loading…
Reference in New Issue
Block a user