Skip to content

Commit 4dc4246

Browse files
author
v_guanglwen
committed
feat: 测试
1 parent 21221b0 commit 4dc4246

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ jobs:
2929
env:
3030
WX_PRIVATE_KEY: ${{ secrets.WX_PRIVATE_KEY }}
3131
run: |
32+
# 验证密钥是否为空
33+
if [ -z "$WX_PRIVATE_KEY" ]; then
34+
echo "❌ 错误: WX_PRIVATE_KEY 为空,请检查 GitHub Secrets 设置"
35+
exit 1
36+
fi
3237
mkdir -p ./build
3338
echo "$WX_PRIVATE_KEY" > ./build/key
34-
echo "$WX_PRIVATE_KEY" | head -c 16 | xxd
35-
echo "$WX_PRIVATE_KEY" | wc -c
36-
cat ./build/key
39+
echo "$WX_PRIVATE_KEY" | xxd
3740

0 commit comments

Comments
 (0)