Commit 681e7c342c

681e7c342c72d7d65cd2e80d9859cf5d59f7b8cb

parent: 8902ba351a

Unsigned

Wraient <wraient.911@gmail.com> · 2024-10-26 19:30 UTC

:(

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: |