Cleaning up the windows's CI

This commit is contained in:
Zoe Roux 2021-04-16 16:27:12 +02:00
parent 8c3c17244b
commit 41c1466308

View File

@ -34,7 +34,7 @@ jobs:
shell: bash shell: bash
run: | run: |
if [[ "${{runner.os}}" == "Windows" ]]; then if [[ "${{runner.os}}" == "Windows" ]]; then
choco install ffmpeg choco install ffmpeg-shared
elif [[ "${{runner.os}}" == "macOS" ]]; then elif [[ "${{runner.os}}" == "macOS" ]]; then
brew install ffmpeg brew install ffmpeg
else else
@ -44,6 +44,7 @@ jobs:
fi fi
- name: Enabling windows compilations tools - name: Enabling windows compilations tools
uses: ilammy/msvc-dev-cmd@v1 uses: ilammy/msvc-dev-cmd@v1
if: ${{"${{runner.os}}" == "Windows"}}
- name: Build the app - name: Build the app
run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo
- name: Compression output - name: Compression output