mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-12 22:30:48 +08:00
在缓存保存步骤中添加输出缓存命中的日志
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user