diff --git a/action.yml b/action.yml index 1067a13..f866392 100644 --- a/action.yml +++ b/action.yml @@ -77,6 +77,7 @@ runs: - uses: actions/cache@v3 name: Setup pnpm node_modules cache + id: pnpm-modules-cache with: path: node_modules key: ${{ runner.os }}-pnpm-node_modules-store-cache-${{ steps.cache-rotation.outputs.YEAR_MONTH }}-${{ steps.get-hash.outputs.hash }} @@ -91,7 +92,7 @@ runs: # run: pnpm prune store - name: Install dependencies - if: ${{ steps.pnpm-cache.outputs.cache-hit != 'true' && inputs.run_install == 'true' }} + if: ${{ inputs.run_install == 'true' }} shell: bash working-directory: ${{ inputs.cwd }} run: ${{ inputs.install_cmd }}