mirror of
https://github.com/gotson/komga.git
synced 2026-01-15 12:42:02 +01:00
don't reinstall playwright if the cache was hit
This commit is contained in:
parent
d049fe3997
commit
03b3c6da51
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