Backend/.forgejo/workflows/build.yml
2024-12-06 21:53:41 +01:00

18 lines
No EOL
470 B
YAML

on: [push]
jobs:
build:
runs-on: docker
container:
image: golang:latest
steps:
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: '/workspace/ScheduleTogether/Backend/go.mod'
- run: go build -x -v -o=stbackend -buildvcs=true ./cmd/stbackend/main.go
- uses: actions/upload-artifact@v3
with:
name: build-artifact
path: ./stbackend