update ci.yml
This commit is contained in:
parent
57f1f11760
commit
21a2e00f86
|
@ -53,6 +53,8 @@ jobs:
|
||||||
export LD_FLAGS="-w -s -X main.VERSION=unknown"
|
export LD_FLAGS="-w -s -X main.VERSION=unknown"
|
||||||
go mod tidy
|
go mod tidy
|
||||||
go build -o "output/$BINARY_NAME" -trimpath -ldflags "$LD_FLAGS" ./
|
go build -o "output/$BINARY_NAME" -trimpath -ldflags "$LD_FLAGS" ./
|
||||||
|
echo ::${{ !!github.head_ref }}
|
||||||
|
echo ::${{ !github.head_ref }}
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
if: ${{ !github.head_ref }}
|
if: ${{ !github.head_ref }}
|
||||||
|
|
Loading…
Reference in New Issue