From c36796f9f6d154c9d7faf521df3d93cc645303ab Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 16 Apr 2021 17:07:47 +0200 Subject: [PATCH] Adding include and lib directories for windows --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bc40c2d..aa9d12a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,8 +43,12 @@ jobs: sudo apt-get install -y libavutil-dev libavcodec-dev libavformat-dev fi - name: Enabling windows compilations tools + if: matrix.artifact == 'windows' uses: ilammy/msvc-dev-cmd@v1 - name: Build the app + env: + INCLUDE: ${{env.INCLUDE}}:"C:\Program Files (x86)\FFmpeg\include" + LIB: ${{env.LIB}}:"C:\Program Files (x86)\FFmpeg\lib" run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo - name: Compression output shell: bash