This commit is contained in:
doms9 2025-09-03 00:39:49 -04:00
parent 00000d9d54
commit 00000d932b
6 changed files with 34 additions and 3639 deletions

View file

@ -18,19 +18,27 @@ jobs:
- name: Checkout
if: steps.check_time.outputs.run == 'true'
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Cache venv
if: steps.check_time.outputs.run == 'true'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: shared-venv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
restore-keys: |
shared-venv-${{ runner.os }}-
- name: Cache cert
uses: actions/cache@v4
with:
path: M3U8/scrape/cached-ca.pem
key: cert-cache-${{ runner.os }}-${{ hashFiles('M3U8/scrape/cached-ca.pem') }}
restore-keys: |
cert-cache-${{ runner.os }}-
- name: Install uv
if: steps.check_time.outputs.run == 'true'
uses: astral-sh/setup-uv@v6
@ -47,8 +55,9 @@ jobs:
python-version-file: "pyproject.toml"
- name: Cache Playwright browsers
id: cache-pw
if: steps.check_time.outputs.run == 'true'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright
@ -56,7 +65,7 @@ jobs:
${{ runner.os }}-playwright
- name: Install Playwright browsers
if: steps.check_time.outputs.run == 'true'
if: steps.check_time.outputs.run == 'true' && steps.cache-pw.outputs.cache-hit != 'true'
run: |
uv run playwright install
uv run playwright install-deps