From c844121ad8a3fb5e1fdadeb1596b706b97d772e9 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Wed, 14 Apr 2021 23:52:37 +0200 Subject: [PATCH] Installing ffmpeg on the CI --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 49840427..ca59a471 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,16 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.x + - name: Install ffmpeg + shell: bash + run: | + if [[ "${{runner.os}}" == "Windows" ]]; then + choco install ffmpeg + elif [[ "${{runner.os}}" == "macOS" ]]; then + sudo brew install ffmpeg + else + sudo apt install -y ffmpeg + fi - name: Build the app run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo - name: Compression output