mirror of
https://github.com/iptv-org/iptv
synced 2025-12-16 18:37:17 -05:00
Update check.yml
This commit is contained in:
6
.github/workflows/check.yml
vendored
6
.github/workflows/check.yml
vendored
@@ -10,17 +10,17 @@ jobs:
|
|||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
- uses: tj-actions/changed-files@v22.2
|
- uses: tj-actions/changed-files@v22.2
|
||||||
id: files
|
id: files
|
||||||
with:
|
with:
|
||||||
files: streams/*.m3u
|
files: streams/*.m3u
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
if: ${{ !env.ACT && steps.files.outputs.any_changed == 'true' }}
|
if: ${{ !env.ACT && steps.files.outputs.any_changed == 'true' }}
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: 16
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: download data from api
|
- name: download data from api
|
||||||
if: steps.files.outputs.any_changed == 'true'
|
if: steps.files.outputs.any_changed == 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user