From 3b67780748b55e7d345970dd482eeb74374b5231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B0=D1=85=D0=BD=D0=BE=D0=B2=20=D0=93=D0=BB=D0=B5?= =?UTF-8?q?=D0=B1=20=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B5=D0=B2=D0=B8=D1=87?= Date: Sun, 7 Nov 2021 17:42:45 +0300 Subject: [PATCH] fix github workflow --- .github/workflows/create-release.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index b6b71fd..4c4cd03 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -40,14 +40,15 @@ jobs: run: | echo "::set-env name=BINARY_NAME::cero-${{ matrix.GOOS }}-${{ matrix.GOARCH }}${{ env.BINARY_EXT }}" echo "Binary name set to ${{ env.BINARY_NAME }}" - + - name: Checkout code uses: actions/checkout@v2 - - name: Build project - uses: actions/setup-go@v2 + - uses: actions/setup-go@v2 with: go-version: '^1.17.3' + + - name: Build project run: go build -o $BINARY_NAME - name: Attach compiled binary to release