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