Update go.yml to not have 2 vs when building and publishing files
This commit is contained in:
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
|||||||
run: sudo apt update && sudo apt install -y libusb-1.0-0-dev
|
run: sudo apt update && sudo apt install -y libusb-1.0-0-dev
|
||||||
|
|
||||||
- name: Build Release
|
- name: Build Release
|
||||||
run: go build -v -o go-bsb-cams-v${{ github.ref_name }} -ldflags "-X main.gitVersion=${{ github.ref_name }}" ./...
|
run: go build -v -o go-bsb-cams-${{ github.ref_name }} -ldflags "-X main.gitVersion=${{ github.ref_name }}" ./...
|
||||||
if: github.ref_type == 'tag'
|
if: github.ref_type == 'tag'
|
||||||
|
|
||||||
- name: Build Non-Release
|
- name: Build Non-Release
|
||||||
|
|||||||
Reference in New Issue
Block a user