okospaceapi/.forgejo/workflows/build.yaml-disabled
Aaron Fischer 59b3316c35
Some checks failed
/ docker-image (push) Failing after 44s
x
2023-10-19 22:50:21 +02:00

33 lines
814 B
Text

on:
push:
branches:
- main
jobs:
build:
runs-on: docker
steps:
- name: Install dependencies
run: |
apt-get update
apt-get install -y git
- name: Checkout sourcecode
uses: actions/checkout@v3
- name: Setup go build environment
uses: actions/setup-go@v4
with:
go-version-file: ./go.mod
- name: Generate space-api types and build binary
run: |
apt-get install -y wget bash
./generate-spaceapi-types.sh
go build -o okospaceapi ./cmd/server.go
# TODO: Disabled for now because we do not use it
#- name: Upload binary as an artefact
# uses: actions/upload-artifact@v3
# with:
# name: okospaceapi
# path: okospaceapi