From 60bf44dcc5265ddb99420876419a136cdb4fbd0a Mon Sep 17 00:00:00 2001 From: Wraient Date: Sun, 27 Oct 2024 01:43:11 +0530 Subject: [PATCH] sheesh --- .github/workflows/ci-cd.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index bd511a1..e1d532f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -46,9 +46,11 @@ jobs: - name: Build Linux binary run: | - outputDir="Build" # Set the output directory for Linux builds - mkdir -p "$outputDir" # Create the directory if it doesn't exist - go build -o "$outputDir/curd-linux" ./cmd/curd/main.go + pwd + tree ./ + outputDir="Build" + mkdir -p "$outputDir" + go build -o "$outputDir/curd" ./cmd/curd/main.go - name: Revert Changes in player.go run: | @@ -56,8 +58,8 @@ jobs: - name: Build Windows binary (cross-compile) run: | - outputDir="Build" # Use the same name for consistency - mkdir -p "$outputDir" # Create the directory if it doesn't exist + outputDir="Build" + mkdir -p "$outputDir" set GOOS=windows set GOARCH=amd64 go build -o "$outputDir\curd.exe" .\cmd\curd\main.go @@ -67,7 +69,7 @@ jobs: with: name: curd-binaries path: | - Build/curd-linux + Build/curd Build/curd.exe # Include the Windows binary release: