Commit 681e7c342c
Unsigned
Layout: unified · split
.github/workflows/ci-cd.yml +8 −4
| @@ -73,14 +73,18 @@ jobs: | ||
| 73 | 73 | - name: Install Dependencies |
| 74 | 74 | run: go mod tidy # Install Go dependencies |
| 75 | 75 | |
| 76 | - name: Build Windows binary # Run the build script to generate curd.exe | |
| 76 | - name: Verify Go Version | |
| 77 | run: go version | |
| 78 | ||
| 79 | - name: Build Windows binary | |
| 77 | 80 | run: | |
| 78 | Get-Location | |
| 79 | dir D:\a\curd\ | |
| 81 | echo Current directory: $(Get-Location) | |
| 82 | echo Directory contents: $(dir) | |
| 80 | 83 | echo Building the Windows binary... |
| 81 | 84 | set GOOS=windows |
| 82 | 85 | set GOARCH=amd64 |
| 83 | go build -o curd.exe .\cmd\curd\main.go | |
| 86 | go build -o curd.exe .\cmd\curd\main.go || (echo Build failed & exit 1) | |
| 87 | echo Build completed successfully! | |
| 84 | 88 | |
| 85 | 89 | - name: Download Inno Setup # Clean up |
| 86 | 90 | run: | |