From 151396503b7d50df5d16b2752dea92f001c53a20 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 1 Aug 2021 07:13:18 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 04e0fc9a88..4e70afcdae 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -38,6 +38,23 @@ jobs: format: runs-on: ubuntu-latest 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 strategy: fail-fast: false @@ -212,8 +229,8 @@ jobs: uses: actions/download-artifact@v2 - name: Install Dependencies run: npm install - - name: Format Playlists - run: node scripts/format.js --country=${{ matrix.country }} --resolution + - name: Detect Resolution + run: node scripts/detect-resolution.js --country=${{ matrix.country }} - name: Upload Artifact uses: actions/upload-artifact@v2 with: @@ -221,7 +238,7 @@ jobs: path: channels/${{ matrix.country }}.m3u generate: runs-on: ubuntu-latest - needs: format + needs: detect-resolution steps: - name: Checkout uses: actions/checkout@v2