From e8cd89d7e4d5811317425c24888c889f51e0e662 Mon Sep 17 00:00:00 2001 From: Nexmoe <16796652+nexmoe@users.noreply.github.com> Date: Fri, 24 Oct 2025 22:03:48 +0800 Subject: [PATCH] chore: update release workflow to download yt-dlp binaries for Windows and Linux --- .github/workflows/release.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9723918..f56fa59 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,18 @@ jobs: - name: Install Dependencies run: pnpm install - - name: Type check - run: pnpm run typecheck + - name: Download yt-dlp binaries + run: | + # Download yt-dlp.exe for Windows + curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe -o resources/yt-dlp.exe + + # Download yt-dlp for macOS (for cross-platform builds) + # curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_macos -o resources/yt-dlp_macos + # chmod +x resources/yt-dlp_macos + + # Download yt-dlp for Linux (for cross-platform builds) + curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o resources/yt-dlp_linux + chmod +x resources/yt-dlp_linux - name: Lint and format check run: pnpm run check