From bd2621432812e5719904b8371d6785d9ba92602f Mon Sep 17 00:00:00 2001 From: Shuhao Qing Date: Thu, 1 Aug 2024 16:22:24 +0800 Subject: [PATCH] fixup! fix cd to use correct os and arch to build binary --- .github/workflows/cd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 413ca6e..47c5a5b 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -35,7 +35,7 @@ jobs: uses: actions/setup-go@v4 - name: Build cocli run: | - make build-binary + GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build-binary mv bin/cocli bin/cocli-${{ matrix.os }}-${{ matrix.arch }} - name: Upload release artifact uses: softprops/action-gh-release@v2