workflows (#70)

This commit is contained in:
Michael Quigley 2022-11-02 15:43:17 -04:00
parent 2ee75f859d
commit d61a2eee2e
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 5 additions and 5 deletions

View File

@ -26,8 +26,8 @@ jobs:
env:
CI: ""
- name: go build
run: go build -ldflags "-X github.com/openziti-test-kitchen/zrok/build.Version=${{ github.ref }} -X github.com/openziti-test-kitchen/zrok/build.Hash=${{ github.sha }}" ./...
- name: go install
run: go install -ldflags "-X github.com/openziti-test-kitchen/zrok/build.Version=${{ github.ref }} -X github.com/openziti-test-kitchen/zrok/build.Hash=${{ github.sha }}" ./...
- name: test
run: go test -v ./...

View File

@ -29,8 +29,8 @@ jobs:
env:
CI: ""
- name: go build
run: go build -ldflags "-X github.com/openziti-test-kitchen/zrok/build.Version=${{ github.ref }} -X github.com/openziti-test-kitchen/zrok/build.Hash=${{ github.sha }}" ./...
- name: go install
run: go install -ldflags "-X github.com/openziti-test-kitchen/zrok/build.Version=${{ github.ref }} -X github.com/openziti-test-kitchen/zrok/build.Hash=${{ github.sha }}" ./...
- name: test
run: go test -v ./...
@ -53,6 +53,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ GOPATH }}/bin/zrok
asset_path: ~/go/bin/zrok
asset_name: zrok-ubuntu-amd64
asset_content_type: application/octet-stream