Fixing windows's quote issue

This commit is contained in:
Zoe Roux 2021-04-16 16:09:43 +02:00
parent 8f43a51252
commit a89a48e5e6
2 changed files with 1 additions and 4 deletions

View File

@ -42,9 +42,6 @@ jobs:
# sudo apt-get update -y
sudo apt-get install -y libavutil-dev libavcodec-dev libavformat-dev
fi
- name: Clear nuget cache (hotfix for windows)
shell: bash
run: dotnet clean && dotnet nuget locals all --clear
- name: Build the app
run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo
- name: Compression output

View File

@ -116,7 +116,7 @@
<Exec WorkingDirectory="$(TranscoderRoot)" Condition="'$(IsWindows)' != 'true'"
Command="mkdir -p build %26%26 cd build %26%26 cmake .. %26%26 make -j" />
<Exec WorkingDirectory="$(TranscoderRoot)" Condition="'$(IsWindows)' == 'true'"
Command="(if not exist build mkdir build) %26%26 cd build %26%26 cmake .. -G 'NMake Makefiles' %26%26 nmake" />
Command='(if not exist build mkdir build) %26%26 cd build %26%26 cmake .. -G "NMake Makefiles" %26%26 nmake' />
<Copy SourceFiles="$(TranscoderRoot)/build/$(TranscoderBinary)" DestinationFolder="." />
</Target>