okospaceapi/.forgejo/workflows/build.yaml
Aaron Fischer a3165580bb
Some checks failed
/ build (push) Failing after 2s
/ ls (push) Failing after 42s
Update .forgejo/workflows/build.yaml
2023-10-06 21:21:40 +02:00

22 lines
482 B
YAML

on:
push:
branches:
- main
jobs:
build:
runs-on: docker
steps:
- run: |
apt install git-all
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: ${{ GITHUB_WORKSPACE }}/okoyono-intern/spaceapi/go.mod
- run: |
go generate
go build cmd/server.go -o spaceapi
- uses: actions/upload-artifact@v2
with:
name: spaceapi
path: spaceapi