Skip to content

Commit

Permalink
I beg you, pls work
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraient committed Oct 26, 2024
1 parent 275fcea commit 16b4f90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ jobs:

- name: Build Windows binary # Run the build script to generate curd.exe
run: |
cd Build # Navigate to Build directory
chmod +x buildwindows
./buildwindows
.\Build\buildwindows
- name: Download Inno Setup # Clean up
run: |
Expand Down
14 changes: 11 additions & 3 deletions Build/buildwindows
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
@echo off
echo Starting the build process...
set GOOS=windows
set GOARCH=amd64
echo GOOS is set to %GOOS%
echo GOARCH is set to %GOARCH%
echo Building Go application...
tree /F
echo Building Go application
rem Build the Go application
go build -o curd.exe ..\cmd\curd\main.go
go build -o curd.exe .\cmd\curd\main.go
if %ERRORLEVEL% NEQ 0 (
echo Build failed with error level %ERRORLEVEL%
) else (
echo Build completed successfully!
)

0 comments on commit 16b4f90

Please sign in to comment.