mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 04:22:28 +02:00
don't reinstall playwright if the cache was hit
This commit is contained in:
parent
96945ef99e
commit
46e5658c45
1 changed files with 2 additions and 2 deletions
4
.github/actions/setup-playwright/action.yml
vendored
4
.github/actions/setup-playwright/action.yml
vendored
|
|
@ -2,7 +2,7 @@ name: "Setup Playwright"
|
|||
description: "Setup Playwright with caching, using npm (should already be installed)"
|
||||
inputs:
|
||||
working-directory:
|
||||
description: Specifies the working directory where the command is run.
|
||||
description: Specifies the working directory for the Playwright installation.
|
||||
default: .
|
||||
runs:
|
||||
using: "composite"
|
||||
|
|
@ -21,7 +21,7 @@ runs:
|
|||
key: playwright-${{ runner.os }}-${{ env.PLAYWRIGHT_VERSION }}
|
||||
|
||||
- name: Install Playwright dependencies
|
||||
if: steps.playwright-cache.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: npx playwright install --with-deps --only-shell
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue