Pushing ffmpeg's lib with the distribution on windows

This commit is contained in:
Zoe Roux 2021-04-16 22:39:26 +02:00
parent 153266d1a6
commit 5949d5edfe
2 changed files with 4 additions and 3 deletions

View File

@ -35,7 +35,6 @@ jobs:
run: |
if [[ "${{runner.os}}" == "Windows" ]]; then
choco install ffmpeg-shared
ls -Rl "/C/Program Files/FFmpeg"
elif [[ "${{runner.os}}" == "macOS" ]]; then
brew install ffmpeg
else
@ -57,7 +56,9 @@ jobs:
run: |
assets=kyoo_${{matrix.artifact}}
if [[ "${{runner.os}}" == "Windows" ]]; then
cd dist && 7z a "../$assets.zip"
cd dist
cp "/C/Program Files/FFmpeg/lib/*" .
7z a "../$assets.zip"
else
rootgrp=$([ "${{runner.os}}" == "macOS" ] && echo wheel || echo root)
sudo chown -R root:$rootgrp dist

@ -1 +1 @@
Subproject commit 10d3875148d0f5f6e12a59d28b75539cb4b99f57
Subproject commit aa5a5132f45125402bf0391187ddc31272832e80