Commit c0c992f933
Unsigned
Layout: unified · split
.github/workflows/ci-cd.yml +10 −5
| @@ -78,13 +78,18 @@ jobs: | ||
| 78 | 78 | |
| 79 | 79 | - name: Build Windows binary |
| 80 | 80 | run: | |
| 81 | echo Current directory: $(Get-Location) | |
| 82 | echo Directory contents: $(dir) | |
| 83 | echo Building the Windows binary... | |
| 81 | echo "Current directory: $(Get-Location)" | |
| 82 | echo "Directory contents:" | |
| 83 | dir | |
| 84 | echo "Building the Windows binary..." | |
| 84 | 85 | set GOOS=windows |
| 85 | 86 | set GOARCH=amd64 |
| 86 | go build -o curd.exe .\cmd\curd\main.go || (echo Build failed & exit 1) | |
| 87 | echo Build completed successfully! | |
| 87 | go build -o curd.exe .\cmd\curd\main.go | |
| 88 | if ($LASTEXITCODE -ne 0) { | |
| 89 | echo "Build failed" | |
| 90 | exit 1 | |
| 91 | } | |
| 92 | echo "Build completed successfully!" | |
| 88 | 93 | |
| 89 | 94 | - name: Download Inno Setup # Clean up |
| 90 | 95 | run: | |