This commit is contained in:
doms9 2025-09-01 22:56:41 -04:00
parent 30c5dd10d9
commit 00000d9755

View file

@ -22,12 +22,6 @@ jobs:
with: with:
fetch-depth: 0 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 - name: Cache venv
if: steps.check_time.outputs.run == 'true' if: steps.check_time.outputs.run == 'true'
uses: actions/cache@v3 uses: actions/cache@v3
@ -62,24 +56,10 @@ jobs:
${{ runner.os }}-playwright ${{ runner.os }}-playwright
- name: Install Playwright browsers - 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' if: steps.check_time.outputs.run == 'true'
run: | run: |
set -e uv run playwright install
missing_pkgs=() uv run playwright install-deps
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 - name: Fetch M3U8
if: steps.check_time.outputs.run == 'true' if: steps.check_time.outputs.run == 'true'