Update .gitea/workflows/build.yml
This commit is contained in:
parent
67a3150370
commit
1e90b771ee
@ -7,15 +7,14 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: golang-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Golang And Build
|
- name: Install Golang And Build
|
||||||
run:
|
run:
|
||||||
apt install -y golang \
|
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