From 4ce7e32c166ea2ec1d24e66a27db757708aa225f Mon Sep 17 00:00:00 2001 From: zervo Date: Thu, 5 Dec 2024 21:33:16 +0100 Subject: [PATCH] Debug CI x5 --- .forgejo/workflows/build.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index c177945..d8f5d6d 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -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 \ No newline at end of file + path: ./Backend/stbackend \ No newline at end of file