projector/.gitea/workflows/build.yml

22 lines
366 B
YAML
Raw Normal View History

name: gobuild
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
2024-07-21 02:57:25 +00:00
- uses: actions/checkout@v2
2024-07-21 03:06:42 +00:00
- name: Install Golang And Build
2024-07-21 03:05:32 +00:00
run:
2024-07-21 03:13:26 +00:00
apt install -y golang \
2024-07-21 03:09:44 +00:00
&& go version \
&& mkdir ./build \
&& go mod tidy \
&& go build -a -V -o ./build/ .
2024-07-21 03:05:32 +00:00