From 101072c76c8982b2dfc1f96db69ad3eafac9ef62 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 1 Aug 2021 03:58:47 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 172 +++++++++++++++++++++++++++++- 1 file changed, 170 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index ce91e8e6e2..fe9476f4f1 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -38,20 +38,188 @@ jobs: format: runs-on: ubuntu-latest needs: filter + continue-on-error: true + strategy: + fail-fast: false + matrix: + country: + [ + ad, + ae, + af, + al, + am, + ao, + ar, + at, + au, + aw, + az, + ba, + bb, + bd, + be, + bf, + bg, + bh, + bn, + bo, + br, + bs, + by, + ca, + cd, + cg, + ch, + ci, + cl, + cm, + cn, + co, + cr, + cu, + cw, + cy, + cz, + de, + dk, + do, + dz, + ec, + ee, + eg, + es, + et, + fi, + fj, + fo, + fr, + ge, + gh, + gm, + gn, + gp, + gq, + gr, + gt, + hk, + hn, + hr, + ht, + hu, + id, + ie, + il, + in, + iq, + ir, + is, + it, + jm, + jo, + jp, + ke, + kg, + kh, + kp, + kr, + kw, + kz, + la, + lb, + li, + lk, + lt, + lu, + lv, + ly, + ma, + mc, + md, + me, + mk, + ml, + mm, + mn, + mo, + mt, + mx, + my, + mz, + ne, + ng, + nl, + no, + np, + nz, + om, + pa, + pe, + ph, + pk, + pl, + pr, + ps, + pt, + py, + qa, + ro, + rs, + ru, + rw, + sa, + sd, + se, + sg, + si, + sk, + sl, + sm, + sn, + so, + sv, + sy, + th, + tj, + tm, + tn, + tr, + tt, + tw, + tz, + ua, + ug, + uk, + us, + uy, + uz, + va, + ve, + vi, + vn, + xk, + ye, + zm + ] steps: - name: Checkout uses: actions/checkout@v2 - name: Download Artifacts uses: actions/download-artifact@v2 + - name: Enable Cache + uses: actions/setup-node@v2 + with: + node-version: '14' + cache: 'npm' - name: Install Dependencies run: npm install - name: Format Playlists - run: node scripts/format.js --resolution + run: node scripts/format.js --country=${{ matrix.country }} - name: Upload Artifact uses: actions/upload-artifact@v2 with: name: channels - path: channels/ + path: channels/${{ matrix.country }}.m3u generate: runs-on: ubuntu-latest needs: format