mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 23:02:52 +01:00
workflows (#70)
This commit is contained in:
parent
2ee75f859d
commit
d61a2eee2e
4
.github/workflows/ci-build.yml
vendored
4
.github/workflows/ci-build.yml
vendored
@ -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 ./...
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user