okospaceapi/.forgejo/workflows/build.yaml

17 lines
321 B
YAML
Raw Normal View History

2023-10-01 14:18:10 +02:00
on: [push]
jobs:
build:
runs-on: docker
container:
image: golang:alpine
steps:
2023-10-01 14:58:48 +02:00
- uses: actions/checkout@v3
2023-10-01 14:22:40 +02:00
- run: |
2023-10-01 14:18:10 +02:00
go generate
go build cmd/server.go -o spaceapi
- uses: actions/upload-artifact@v2
with:
name: spaceapi
path: spaceapi