Commit 681e7c342c
Unsigned
Layout: unified · split
.github/workflows/ci-cd.yml +8 −4
| @@ -73,14 +73,18 @@ jobs: | |||
| 73 | - name: Install Dependencies | 73 | - name: Install Dependencies |
| 74 | run: go mod tidy # Install Go dependencies | 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 | run: | | 80 | run: | |
| 78 | Get-Location | 81 | echo Current directory: $(Get-Location) |
| 79 | dir D:\a\curd\ | 82 | echo Directory contents: $(dir) |
| 80 | echo Building the Windows binary... | 83 | echo Building the Windows binary... |
| 81 | set GOOS=windows | 84 | set GOOS=windows |
| 82 | set GOARCH=amd64 | 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 | - name: Download Inno Setup # Clean up | 89 | - name: Download Inno Setup # Clean up |
| 86 | run: | | 90 | run: | |