Skip to content

Commit

Permalink
add CI test for yt-dlp
Browse files Browse the repository at this point in the history
  • Loading branch information
eric15342335 committed Jul 15, 2024
1 parent 21dfbc9 commit 676b35e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on: [push, workflow_dispatch]

jobs:
build-yt-dlp:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run autobuild-yt-dlp.cmd
run: |
cd yt-dlp
python.exe -m pip install --upgrade pip
cat autobuild-yt-dlp.cmd | cmd
- name: Generate Build Artifacts
uses: actions/upload-artifact@v4
with:
name: yt-dlp-windows-latest-${{ matrix.python-version }}
path: yt_dlp/
compression-level: 9
retention-days: 90
if-no-files-found: error

0 comments on commit 676b35e

Please sign in to comment.