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