diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 71b4ccee..a224d402 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -35,4 +35,17 @@ jobs: run: go install -ldflags "-X github.com/openziti/zrok/build.Version=${{ github.ref }} -X github.com/openziti/zrok/build.Hash=${{ github.sha }}" ./... - name: test - run: go test -v ./... \ No newline at end of file + run: go test -v ./... + + - name: solve GOBIN + id: solve_go_bin + run: | + echo DEBUG: go_path="$(go env GOPATH)" + echo go_bin="$(go env GOPATH)/bin" >> $GITHUB_OUTPUT + + - name: upload build artifact + uses: actions/upload-artifact@v3 + with: + name: linux-amd64 + path: ${{ steps.solve_go_bin.outputs.go_bin }}/zrok + if-no-files-found: error \ No newline at end of file