projector/.gitea/workflows/build.yml

23 lines
324 B
YAML
Raw Normal View History

name: gobuild
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
2024-07-21 10:26:48 +00:00
runs-on: ubuntu-gitea
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:18:34 +00:00
go version \
2024-07-21 03:09:44 +00:00
&& mkdir ./build \
&& go mod tidy \
&& go build -a -V -o ./build/ .
2024-07-21 10:25:32 +00:00