e
This commit is contained in:
parent
00000d9d54
commit
00000d932b
6 changed files with 34 additions and 3639 deletions
4
.github/workflows/epg.yml
vendored
4
.github/workflows/epg.yml
vendored
|
|
@ -10,12 +10,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cache venv
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .venv
|
||||
key: shared-venv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
|
||||
|
|
|
|||
2
.github/workflows/health.yml
vendored
2
.github/workflows/health.yml
vendored
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
|
|||
17
.github/workflows/m3u8.yml
vendored
17
.github/workflows/m3u8.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue