e
This commit is contained in:
parent
30c5dd10d9
commit
00000d9755
1 changed files with 2 additions and 22 deletions
24
.github/workflows/m3u8.yml
vendored
24
.github/workflows/m3u8.yml
vendored
|
|
@ -22,12 +22,6 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup SSH Agent
|
||||
if: steps.check_time.outputs.run == 'true'
|
||||
uses: webfactory/ssh-agent@v0.9.0
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
|
||||
- name: Cache venv
|
||||
if: steps.check_time.outputs.run == 'true'
|
||||
uses: actions/cache@v3
|
||||
|
|
@ -62,24 +56,10 @@ jobs:
|
|||
${{ runner.os }}-playwright
|
||||
|
||||
- name: Install Playwright browsers
|
||||
if: steps.check_time.outputs.run == 'true'
|
||||
run: uv run playwright install
|
||||
|
||||
- name: Install Playwright deps
|
||||
if: steps.check_time.outputs.run == 'true'
|
||||
run: |
|
||||
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
|
||||
uv run playwright install
|
||||
uv run playwright install-deps
|
||||
|
||||
- name: Fetch M3U8
|
||||
if: steps.check_time.outputs.run == 'true'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue