Skip to content

Commit d6f9585

Browse files
committed
only cache if pnpm install is true
1 parent 3b16f07 commit d6f9585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/setup-pnpm/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ runs:
1717
uses: actions/setup-node@v6
1818
with:
1919
node-version-file: '.nvmrc'
20-
cache: 'pnpm' # This caches the pnpm store automatically
20+
cache: ${{ inputs.install == 'true' && 'pnpm' || '' }}
2121

2222
- name: Install dependencies
2323
if: inputs.install == 'true'

0 commit comments

Comments
 (0)