修复依赖

This commit is contained in:
johlanse 2022-03-18 10:26:51 +08:00
parent 2ebb56a634
commit 311e3e14eb
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ jobs:
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"
go mod tidy
go build -o "output/$BINARY_NAME" ./
- name: Upload artifact
uses: actions/upload-artifact@v2