Update github ci file

pull/360/head
aandrew-me 5 days ago
parent 3183345219
commit d5d02a18f0

@ -36,13 +36,12 @@ jobs:
run: | run: |
sudo snap install snapcraft --classic sudo snap install snapcraft --classic
wget "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/ffmpeg_linux_amd64.tar.xz" wget "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/ffmpeg_linux_amd64.tar.xz"
wget "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/deno_linux_amd64" -O deno wget "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/node_linux_amd64" -O node
chmod +x deno chmod +x node
tar -xf ffmpeg_linux_amd64.tar.xz tar -xf ffmpeg_linux_amd64.tar.xz
mv ffmpeg_linux_amd64 ffmpeg mv ffmpeg_linux_amd64 ffmpeg
chmod +x ffmpeg/bin/ffmpeg chmod +x ffmpeg/bin/ffmpeg
chmod +x ffmpeg/bin/ffprobe chmod +x ffmpeg/bin/ffprobe
chmod +x ffmpeg/bin/ffplay
rm ffmpeg_linux_amd64.tar.xz rm ffmpeg_linux_amd64.tar.xz
npm i npm i
npx electron-builder -l --publish=always npx electron-builder -l --publish=always
@ -74,7 +73,7 @@ jobs:
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
shell: powershell shell: powershell
run: | run: |
Invoke-WebRequest -Uri "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/deno.exe" -OutFile deno.exe Invoke-WebRequest -Uri "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/node.exe" -OutFile node.exe
Invoke-WebRequest -Uri "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/ffmpeg_win64.zip" -OutFile ffmpeg_win64.zip Invoke-WebRequest -Uri "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/ffmpeg_win64.zip" -OutFile ffmpeg_win64.zip
Expand-Archive -Path ffmpeg_win64.zip -DestinationPath . Expand-Archive -Path ffmpeg_win64.zip -DestinationPath .
Move-Item -Path .\ffmpeg_win64 -Destination .\ffmpeg Move-Item -Path .\ffmpeg_win64 -Destination .\ffmpeg

Loading…
Cancel
Save