From c83448e8d85428116b47ebe72c5e80c143b33193 Mon Sep 17 00:00:00 2001 From: Vrushank Patel Date: Wed, 9 Apr 2025 16:52:27 +0530 Subject: [PATCH] BLK-012: Using the cmd for build now for GH actions --- .github/workflows/go.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1d47331..88aa830 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,6 +22,15 @@ jobs: - name: Check out code uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Debug directory structure + run: | + pwd + ls -la + ls -la cmd/ + ls -la cmd/bluelink/ - name: Install UPX run: | @@ -32,7 +41,10 @@ jobs: run: chmod +x build.sh - name: Run build script - run: ./build.sh + run: | + export GOPATH=$(go env GOPATH) + export PATH=$GOPATH/bin:$PATH + ./build.sh - name: Upload artifacts uses: actions/upload-artifact@v4