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