diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d8f4f1..33b8bc3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: go-version: '1.22' - name: Build binaries using Makefile - working-directory: ./ + working-directory: ${{ github.workspace }} run: | TAG_NAME=${GITHUB_REF#refs/tags/} VERSION=${TAG_NAME} @@ -45,7 +45,7 @@ jobs: mv build/dorad release/dorad-${VERSION}-linux-amd tar -czvf release/dorad-${VERSION}-linux-amd.tar.gz -C release dorad-${VERSION}-linux-amd - GOOS=linux GOARCH=arm go build -o release/dorad-${VERSION}-linux-arm + GOOS=linux GOARCH=arm go build -o release/dorad-${VERSION}-linux-arm ./cmd/dorad tar -czvf release/dorad-${VERSION}-linux-arm.tar.gz -C release dorad-${VERSION}-linux-arm sha256sum release/* > release/sha256sum.txt