From ab8b01ca683f6042ccb1e0140dd911601696ae27 Mon Sep 17 00:00:00 2001 From: Andrew <66430340+aandrew-me@users.noreply.github.com> Date: Tue, 16 May 2023 19:53:03 +0600 Subject: [PATCH] try again --- .github/workflows/main.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a948858..2d626e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,14 +52,10 @@ jobs: - name: Windows Build if: matrix.os == 'windows-latest' run: | - Invoke-WebRequest -Uri "https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-n6.0-latest-win64-gpl-6.0.zip" -OutFile ffmpeg.zip - Expand-Archive -Path ".\ffmpeg.zip" -DestinationPath ".\ffmpeg" - pwd - cp "D:\a\ytDownloader\ffmpeg\bin\ffmpeg.exe" .\ffmpeg.exe - Remove-Item -Recurse -Force ffmpeg - Remove-Item -Force ffmpeg.zip + Invoke-WebRequest -Uri "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v6/ffmpeg.exe" -OutFile ffmpeg.exe npm i npm run gh-windows + # - name: Upload Artifacts # id: upload-artifacts # uses: softprops/action-gh-release@v1 @@ -76,3 +72,11 @@ jobs: # draft: true # tag_name: v # name: tgpt + +#Windows + # Invoke-WebRequest -Uri "https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-n6.0-latest-win64-gpl-6.0.zip" -OutFile ffmpeg.zip + # Expand-Archive -Path ".\ffmpeg.zip" -DestinationPath ".\ffmpeg" + # pwd + # cp "D:\a\ytDownloader\ffmpeg\bin\ffmpeg.exe" .\ffmpeg.exe + # Remove-Item -Recurse -Force ffmpeg + # Remove-Item -Force ffmpeg.zip \ No newline at end of file