okospaceapi/.forgejo/workflows/build.yaml
Aaron Fischer c40f7f6a99
All checks were successful
/ build (push) Successful in 47s
Call generator script manually
2023-10-06 22:18:12 +02:00

22 lines
502 B
YAML

on:
push:
branches:
- main
jobs:
build:
runs-on: docker
steps:
- run: |
apt-get update
apt-get install -y git
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: ./go.mod
- run: |
apt-get install -y wget bash
./generate-spaceapi-types.sh
go build -o okospaceapi ./cmd/server.go
- uses: actions/upload-artifact@v3
with:
path: okospaceapi