From 83360194da41cf33e14f0c981bd04e48c8599620 Mon Sep 17 00:00:00 2001 From: OnlyXianzo <184820152+OnlyXianzo@users.noreply.github.com> Date: Wed, 11 Feb 2026 19:25:18 +0530 Subject: [PATCH] added build.yml --- .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..6bf98e438 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build Fixed PicoClaw + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: # Allows you to trigger it manually + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.21' # PicoClaw usually needs 1.21+ + + - name: Build Windows Binary + run: | + GOOS=windows GOARCH=amd64 go build -o picoclaw-fixed.exe ./cmd/picoclaw + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: picoclaw-windows-binary + path: picoclaw-fixed.exe \ No newline at end of file