Update release.yml

This commit is contained in:
Zoe Roux 2021-04-16 23:08:06 +02:00
parent 38019a5dfa
commit ee432fe1d5

View File

@ -37,6 +37,7 @@ jobs:
choco install ffmpeg-shared choco install ffmpeg-shared
elif [[ "${{runner.os}}" == "macOS" ]]; then elif [[ "${{runner.os}}" == "macOS" ]]; then
brew install ffmpeg brew install ffmpeg
find / -name '*avformat*'
else else
# sudo add-apt-repository -y "deb http://azure.archive.ubuntu.com/ubuntu groovy main multiverse restricted universe" # sudo add-apt-repository -y "deb http://azure.archive.ubuntu.com/ubuntu groovy main multiverse restricted universe"
# sudo apt-get update -y # sudo apt-get update -y
@ -57,7 +58,7 @@ jobs:
assets=kyoo_${{matrix.artifact}} assets=kyoo_${{matrix.artifact}}
if [[ "${{runner.os}}" == "Windows" ]]; then if [[ "${{runner.os}}" == "Windows" ]]; then
cd dist cd dist
cp "/C/Program Files/FFmpeg/lib/." . cp -r "/C/Program Files/FFmpeg/lib/." .
7z a "../$assets.zip" 7z a "../$assets.zip"
else else
rootgrp=$([ "${{runner.os}}" == "macOS" ] && echo wheel || echo root) rootgrp=$([ "${{runner.os}}" == "macOS" ] && echo wheel || echo root)