e
This commit is contained in:
parent
00000d9f8e
commit
00000d9656
1 changed files with 12 additions and 2 deletions
14
.github/workflows/m3u8.yml
vendored
14
.github/workflows/m3u8.yml
vendored
|
|
@ -62,8 +62,18 @@ jobs:
|
|||
- name: Install Playwright deps
|
||||
if: steps.check_time.outputs.run == 'true'
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y libevent-2.1-7 libavif13
|
||||
set -e
|
||||
missing_pkgs=()
|
||||
for pkg in libevent-2.1-7 libavif13; do
|
||||
if ! dpkg -s $pkg >/dev/null 2>&1; then
|
||||
missing_pkgs+=($pkg)
|
||||
fi
|
||||
done
|
||||
|
||||
if (( ${#missing_pkgs[@]} > 0 )); then
|
||||
apt-get update
|
||||
apt-get install -y "${missing_pkgs[@]}"
|
||||
fi
|
||||
|
||||
- name: Fetch M3U8
|
||||
if: steps.check_time.outputs.run == 'true'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue