update ci.yml

This commit is contained in:
xlh001 2023-04-13 15:29:23 +08:00
parent 57f1f11760
commit 21a2e00f86
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ jobs:
export LD_FLAGS="-w -s -X main.VERSION=unknown"
go mod tidy
go build -o "output/$BINARY_NAME" -trimpath -ldflags "$LD_FLAGS" ./
echo ::${{ !!github.head_ref }}
echo ::${{ !github.head_ref }}
- name: Upload artifact
uses: actions/upload-artifact@v3
if: ${{ !github.head_ref }}