projector/.gitea/workflows/build.yml

22 lines
366 B
YAML
Executable File

name: gobuild
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Golang And Build
run:
apt install -y golang \
&& go version \
&& mkdir ./build \
&& go mod tidy \
&& go build -a -V -o ./build/ .