Skip to content

Commit

Permalink
ci: fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
nedpals committed Dec 1, 2023
1 parent 0b813e6 commit 3dd8f3a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,26 @@ jobs:
with:
go-version: 1.21.4

- name: Change directory to server
run: cd server

- 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 cmd/bugbuddy-windows-amd64.exe .

- 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 cmd/bugbuddy-windows-arm64.exe .

- 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 cmd/bugbuddy-linux-amd64 .

- 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 cmd/bugbuddy-linux-arm64 .

- 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 cmd/bugbuddy-macos-amd64 .

- 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 cmd/bugbuddy-macos-arm64 .

release:
needs: build
Expand Down

0 comments on commit 3dd8f3a

Please sign in to comment.