在缓存保存步骤中添加输出缓存命中的日志

This commit is contained in:
mini2024
2025-04-06 03:23:23 +08:00
parent 90b51303f2
commit 4b718f4cee

View File

@ -205,6 +205,7 @@ runs:
# --frozen-lockfile
# ERR_PNPM_NO_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is absent
pnpm store prune
echo "cache-hit: ${{ steps.cache-pnpm-restore.outputs.cache-hit }}"
- id: cache-pnpm-save
if: always() && steps.cache-pnpm-restore.outputs.cache-hit == 'false'