Backend/.forgejo/workflows/build.yml

18 lines
470 B
YAML
Raw Normal View History

on: [push]
jobs:
build:
runs-on: docker
2024-12-05 20:38:44 +01:00
container:
image: golang:latest
steps:
2024-12-05 21:23:15 +01:00
- 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