17 lines
No EOL
436 B
YAML
17 lines
No EOL
436 B
YAML
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
container:
|
|
image: golang:latest
|
|
steps:
|
|
- 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 |