okospaceapi/.forgejo/workflows/build.yaml
Aaron Fischer d1412be508
Some checks failed
/ build (push) Failing after 44s
/ test (push) Successful in 2s
Update .forgejo/workflows/build.yaml
2023-10-05 22:40:20 +02:00

20 lines
413 B
YAML

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