Debug CI x5
Some checks failed
/ build (push) Failing after 2m5s

This commit is contained in:
zervo 2024-12-05 21:33:16 +01:00
parent 28907f0fd1
commit 062b10a367

View file

@ -5,13 +5,15 @@ jobs:
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
# Step 1: Check out the code
- uses: actions/checkout@v4
# Step 2: Set the working directory and build the project
- run: go build -x -v -o=stbackend -buildvcs=true ./cmd/stbackend/main.go
working-directory: ./Backend
# Step 3: Upload the build artifact
- uses: actions/upload-artifact@v3
with:
name: build-artifact
path: ./stbackend
path: ./Backend/stbackend