okospaceapi/.forgejo/workflows/build.yaml
Aaron Fischer aa59c1e79a
Some checks failed
/ ls (push) Failing after 33s
/ build (push) Failing after 28s
Update .forgejo/workflows/build.yaml
2023-10-06 21:15:38 +02:00

22 lines
458 B
YAML

on:
push:
branches:
- main
jobs:
build:
runs-on: docker
container:
image: node:16-bullseye
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