Skip to content

Commit 683ee80

Browse files
committed
feat: add build output verification step in Tencent CI workflow
1 parent e3a9a49 commit 683ee80

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/tencent.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ jobs:
2323
- name: Build project
2424
run: npm i -g pnpm && pnpm install && pnpm build
2525

26+
- name: Verify build output
27+
run: |
28+
echo "Build output contents:"
29+
ls -la dist/
30+
echo "Total files: $(find dist -type f | wc -l)"
31+
32+
# BUCKET 格式需为 bucketname-appid,如 mysite-1234567890
33+
# 确保 GitHub Secrets 中 SECRET_ID、SECRET_KEY、BUCKET 已正确配置
2634
- name: Upload COS
2735
uses: TencentCloud/cos-action@v1
2836
with:

0 commit comments

Comments
 (0)