From 66455611f6ad3a3a3a686fd8cb334bc6be579678 Mon Sep 17 00:00:00 2001 From: Scott Sunarto Date: Mon, 6 Nov 2023 15:25:27 -0800 Subject: [PATCH] ci: fix build workflow --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 985206f..2b5c526 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ jobs: output_name=world_${{ matrix.goos }}_${{ matrix.goarch }} [ ${{ matrix.goos }} = "windows" ] && output_name+=".exe" - env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build ./cmd/world -o $output_name + env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o $output_name ./cmd/world echo "output_name=$output_name" >> $GITHUB_OUTPUT - name: Compress Build Binary uses: a7ul/tar-action@v1.1.3