fix: make lint&ci happy

This commit is contained in:
源文雨
2025-10-01 00:21:11 +08:00
parent 324a0022a7
commit 4aace203cf
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ jobs:
GOARCH: ${{ matrix.goarch }}
IS_PR: ${{ !!github.head_ref }}
run: |
go generate ./...
GOOS= GOARCH= go generate ./...
if [ $GOOS = "windows" ]; then export BINARY_SUFFIX="$BINARY_SUFFIX.exe"; fi
if $IS_PR ; then echo $PR_PROMPT; fi
export BINARY_NAME="$BINARY_PREFIX$GOOS_$GOARCH$BINARY_SUFFIX"