mirror of
https://github.com/daveberrys/guh.git
synced 2026-11-29 00:26:46 +08:00
update workflows
This commit is contained in:
1 parent
4207db52ba
commit
f5b73893b7
1 file changed
+2
-1
@@ -31,7 +31,8 @@ jobs:
|
||||
go-version: '1.23'
|
||||
|
||||
- name: Build
|
||||
run: go build -o ${{ matrix.artifact-name }}
|
||||
shell: bash
|
||||
run: go build -ldflags "-X 'github.com/daveberrys/guh/src/cmd/cli.Version=$(git rev-parse --short HEAD)'" -o ${{ matrix.artifact-name }}
|
||||
|
||||
- name: Upload Build Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in new issue
Block a user