This commit is contained in:
parent
cda405a9e2
commit
767b1e8a7c
26
.gitea/workflows/build.yml
Normal file
26
.gitea/workflows/build.yml
Normal file
@ -0,0 +1,26 @@
|
||||
name: gobuild
|
||||
|
||||
on: [push]
|
||||
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-gitea
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Golang
|
||||
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
|
||||
- name: Linux Build
|
||||
run:
|
||||
./build.sh
|
Loading…
Reference in New Issue
Block a user