2024-07-21 02:51:16 +00:00
|
|
|
name: gobuild
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
env:
|
|
|
|
BUILD_TYPE: Release
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-07-21 10:35:48 +00:00
|
|
|
runs-on: golang-latest
|
2024-07-21 02:51:16 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|