From c5df0922b8bbe3580318eb7494ccaa62665f0f00 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Sun, 16 Jun 2024 21:28:40 +0300 Subject: [PATCH] Build proper main file --- .github/workflows/build_binaries.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_binaries.yaml b/.github/workflows/build_binaries.yaml index cd282f8c..2b14e26c 100644 --- a/.github/workflows/build_binaries.yaml +++ b/.github/workflows/build_binaries.yaml @@ -19,9 +19,9 @@ jobs: - name: Check out code uses: actions/checkout@v2 - name: Build Binary for linux amd64 - run: go build -o lndhub-${{github.event.release.tag_name}}-linux-x86_64 + run: go build cmd/server/main.go -o lndhub-${{github.event.release.tag_name}}-linux-x86_64 - name: Build Binary for linux arm v7 - run: GOOS=linux GOARCH=arm GOARM=7 go build -o lndhub-${{github.event.release.tag_name}}-linux-arm_v7 + run: GOOS=linux GOARCH=arm GOARM=7 go build cmd/server/main.go -o lndhub-${{github.event.release.tag_name}}-linux-arm_v7 - name: Upload amd64 binary to release assets uses: actions/upload-release-asset@v1.0.1 env: