Skip to content

Commit 71aa4ca

Browse files
author
v_guanglwen
committed
feat: 测试
1 parent bc1e839 commit 71aa4ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
env:
2828
WX_PRIVATE_KEY: ${{ secrets.WX_PRIVATE_KEY }}
2929
run: |
30+
# 验证密钥是否为空
31+
if [ -z "$WX_PRIVATE_KEY" ]; then
32+
echo "❌ 错误: WX_PRIVATE_KEY 为空,请检查 GitHub Secrets 设置"
33+
exit 1
34+
fi
3035
mkdir -p ./build
3136
echo "$WX_PRIVATE_KEY" > ./build/key
3237
echo "$WX_PRIVATE_KEY" | xxd

0 commit comments

Comments
 (0)