Skip to content

Commit

Permalink
fix: added input check for install-packages on Prepare node_modules c…
Browse files Browse the repository at this point in the history
…ache
  • Loading branch information
prisis committed Jul 3, 2024
1 parent b6c86f9 commit 7af979e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion step/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ runs:
run: "pnpm i -D bun --filter=package"

- name: "Prepare node_modules cache"
if: "inputs.enable-node-modules-cache == 'true'"
if: "inputs.enable-node-modules-cache == 'true' && inputs.install-packages == 'true'"
shell: "bash"
run: "tar -cf - node_modules | lz4 > /tmp/node_modules.tar.lz4" # compress node_modules

Expand Down

0 comments on commit 7af979e

Please sign in to comment.