projector/.gitea/workflows/build.yml
Greg Gauthier c8140a5588
Some checks failed
gobuild / build (push) Failing after 10s
cleanup the runner script
2024-07-22 18:45:48 +00:00

27 lines
562 B
YAML
Executable File

name: gobuild
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-gitea
steps:
- uses: actions/checkout@v2
- name: Install Golang
run: |
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: Build Linux Project
run: |
mkdir ./build
go mod tidy
go build -a -v -o ./build/ .