Update auto-update.yml

pull/3870/head
Aleksandr Statciuk 3 years ago
parent e96f1406ed
commit 151396503b

@ -38,6 +38,23 @@ jobs:
format: format:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: filter needs: filter
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download Artifacts
uses: actions/download-artifact@v2
- name: Install Dependencies
run: npm install
- name: Format Playlists
run: node scripts/format.js
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: channels
path: channels/
detect-resolution:
runs-on: ubuntu-latest
needs: format
continue-on-error: true continue-on-error: true
strategy: strategy:
fail-fast: false fail-fast: false
@ -212,8 +229,8 @@ jobs:
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
- name: Install Dependencies - name: Install Dependencies
run: npm install run: npm install
- name: Format Playlists - name: Detect Resolution
run: node scripts/format.js --country=${{ matrix.country }} --resolution run: node scripts/detect-resolution.js --country=${{ matrix.country }}
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
@ -221,7 +238,7 @@ jobs:
path: channels/${{ matrix.country }}.m3u path: channels/${{ matrix.country }}.m3u
generate: generate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: format needs: detect-resolution
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2

Loading…
Cancel
Save