From 273f4f09cd907f548874e4ddcd44ed573feb544b Mon Sep 17 00:00:00 2001 From: facundo Date: Sun, 25 Aug 2024 12:47:46 -0300 Subject: [PATCH] conditionally test --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a0bce9..725ff1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,7 @@ jobs: - name: Build Binary run: CGO_ENABLED=1 CC=${{ matrix.cc }} GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-s -w" -o ${{ env.filename }} . - name: test binary + if: matrix.goarch == 'amd64' run: chmod +x ${{ env.filename }} && ./${{ env.filename }} - name: Release