Merge pull request #248 from openziti/upload-build-artifacts

upload the CI build artifact
This commit is contained in:
Michael Quigley 2023-04-03 10:23:42 -04:00 committed by GitHub
commit 43bcef43a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,4 +38,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 ./...
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