From 0b813e6591e1056280f13aa1406617eba29ebe24 Mon Sep 17 00:00:00 2001 From: Ned Palacios Date: Sat, 2 Dec 2023 02:38:22 +0800 Subject: [PATCH] ci: fix script not building due to wrong location --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b29105..aa20d09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,22 +19,22 @@ jobs: go-version: 1.21.4 - name: Build binaries (Windows amd64) - run: GOOS=windows GOARCH=amd64 go build -o server/cmd/bugbuddy-windows-amd64.exe server + run: GOOS=windows GOARCH=amd64 go build -o server/cmd/bugbuddy-windows-amd64.exe ./server - name: Build binaries (Windows arm64) - run: GOOS=windows GOARCH=arm64 go build -o server/cmd/bugbuddy-windows-arm64.exe server + run: GOOS=windows GOARCH=arm64 go build -o server/cmd/bugbuddy-windows-arm64.exe ./server - name: Build binaries (Linux amd64) - run: GOOS=linux GOARCH=amd64 go build -o server/cmd/bugbuddy-linux-amd64 server + run: GOOS=linux GOARCH=amd64 go build -o server/cmd/bugbuddy-linux-amd64 ./server - name: Build binaries (Linux arm64) - run: GOOS=linux GOARCH=arm64 go build -o server/cmd/bugbuddy-linux-arm64 server + run: GOOS=linux GOARCH=arm64 go build -o server/cmd/bugbuddy-linux-arm64 ./server - name: Build binaries (macOS amd64) - run: GOOS=darwin GOARCH=amd64 go build -o server/cmd/bugbuddy-macos-amd64 server + run: GOOS=darwin GOARCH=amd64 go build -o server/cmd/bugbuddy-macos-amd64 ./server - name: Build binaries (macOS arm64) - run: GOOS=darwin GOARCH=arm64 go build -o server/cmd/bugbuddy-macos-arm64 server + run: GOOS=darwin GOARCH=arm64 go build -o server/cmd/bugbuddy-macos-arm64 ./server release: needs: build