mirror of
https://github.com/openziti/zrok.git
synced 2025-01-08 23:20:04 +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:
|
env:
|
||||||
CI: ""
|
CI: ""
|
||||||
|
|
||||||
- name: go build
|
- name: go install
|
||||||
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 }}" ./...
|
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
|
- name: test
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -29,8 +29,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CI: ""
|
CI: ""
|
||||||
|
|
||||||
- name: go build
|
- name: go install
|
||||||
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 }}" ./...
|
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
|
- name: test
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
@ -53,6 +53,6 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ${{ GOPATH }}/bin/zrok
|
asset_path: ~/go/bin/zrok
|
||||||
asset_name: zrok-ubuntu-amd64
|
asset_name: zrok-ubuntu-amd64
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
Loading…
Reference in New Issue
Block a user