forked from doms/iptv
e
edit typing move epg fetching into M3U8 folder edit workflows
This commit is contained in:
parent
00000d9638
commit
00000d98e3
16 changed files with 376740 additions and 377279 deletions
12
.github/workflows/epg.yml
vendored
12
.github/workflows/epg.yml
vendored
|
|
@ -14,14 +14,6 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cache venv
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: .venv
|
||||
key: shared-venv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
|
||||
restore-keys: |
|
||||
shared-venv-${{ runner.os }}-
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
|
|
@ -36,13 +28,13 @@ jobs:
|
|||
python-version-file: "pyproject.toml"
|
||||
|
||||
- name: Fetch EPG
|
||||
run: uv run EPG/fetch.py
|
||||
run: uv run M3U8/epg-fetch.py
|
||||
|
||||
- name: Push changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v6
|
||||
with:
|
||||
commit_message: "update EPG"
|
||||
file_pattern: "EPG/TV.xml"
|
||||
file_pattern: "M3U8/TV.xml"
|
||||
commit_author: "GitHub Actions Bot <actions@github.com>"
|
||||
commit_user_name: "GitHub Actions Bot"
|
||||
commit_user_email: "actions@github.com"
|
||||
|
|
|
|||
17
.github/workflows/m3u8.yml
vendored
17
.github/workflows/m3u8.yml
vendored
|
|
@ -22,23 +22,6 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cache venv
|
||||
if: steps.check_time.outputs.run == 'true'
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: .venv
|
||||
key: shared-venv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
|
||||
restore-keys: |
|
||||
shared-venv-${{ runner.os }}-
|
||||
|
||||
- name: Cache cert
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: M3U8/scrape/utils/cached-ca.pem
|
||||
key: cert-cache-${{ runner.os }}-${{ hashFiles('M3U8/scrape/utils/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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue