mirror of
https://github.com/openziti/zrok.git
synced 2025-06-21 02:07:44 +02:00
Merge pull request #248 from openziti/upload-build-artifacts
upload the CI build artifact
This commit is contained in:
commit
43bcef43a9
15
.github/workflows/ci-build.yml
vendored
15
.github/workflows/ci-build.yml
vendored
@ -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 }}" ./...
|
run: go install -ldflags "-X github.com/openziti/zrok/build.Version=${{ github.ref }} -X github.com/openziti/zrok/build.Hash=${{ github.sha }}" ./...
|
||||||
|
|
||||||
- name: test
|
- 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
|
Loading…
x
Reference in New Issue
Block a user