Skip to content

Commit

Permalink
sheesh
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraient committed Oct 26, 2024
1 parent a06451d commit 60bf44d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,20 @@ 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: |
git checkout -- internal/player.go
- 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
Expand All @@ -67,7 +69,7 @@ jobs:
with:
name: curd-binaries
path: |
Build/curd-linux
Build/curd
Build/curd.exe # Include the Windows binary
release:
Expand Down

0 comments on commit 60bf44d

Please sign in to comment.