okospaceapi/.forgejo/workflows/build.yaml
Aaron Fischer d87c649f58
Some checks failed
/ build (push) Failing after 8s
/ test (push) Successful in 2s
Update .forgejo/workflows/build.yaml
2023-10-02 23:23:28 +02:00

16 lines
321 B
YAML

on: [push]
jobs:
build:
runs-on: docker
container:
image: golang:alpine
steps:
- uses: actions/checkout@v4
- run: |
go generate
go build cmd/server.go -o spaceapi
- uses: actions/upload-artifact@v2
with:
name: spaceapi
path: spaceapi