Update .gitea/workflows/build.yml
This commit is contained in:
parent
67a3150370
commit
1e90b771ee
@ -7,15 +7,14 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: golang-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Golang And Build
|
||||
run:
|
||||
apt install -y golang \
|
||||
&& go version \
|
||||
go version \
|
||||
&& mkdir ./build \
|
||||
&& go mod tidy \
|
||||
&& go build -a -V -o ./build/ .
|
||||
|
Loading…
Reference in New Issue
Block a user