mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Build: Fixing clean, restore and pack state for the skipped windows host
This commit is contained in:
parent
3b85962dfd
commit
4ae0a98336
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -37,6 +37,7 @@ jobs:
|
|||||||
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
|
||||||
|
sudo apt-get update
|
||||||
sudo apt-get install -y libavutil-dev libavcodec-dev libavformat-dev
|
sudo apt-get install -y libavutil-dev libavcodec-dev libavformat-dev
|
||||||
fi
|
fi
|
||||||
- name: Enabling windows compilations tools
|
- name: Enabling windows compilations tools
|
||||||
|
@ -1,12 +1,20 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<!-- Project file used instead of the default csproj when the host system is not windows. This only skip the build. -->
|
<!-- Project file used instead of the default csproj when the host system is not windows. This only skip the build. -->
|
||||||
|
|
||||||
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
<TargetFramework>net5.0</TargetFramework>
|
||||||
<NoWarn>NU1503</NoWarn>
|
<NoWarn>NU1503</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
||||||
|
|
||||||
<Target Name="Build">
|
<Target Name="Build">
|
||||||
<Message Importance="high" Text="Detected current operating system is not windows, skipping WindowsHost build." />
|
<Message Importance="high" Text="Detected current operating system is not windows, skipping WindowsHost build." />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="Clean" />
|
||||||
|
<Target Name="Pack" />
|
||||||
|
<Target Name="Restore" />
|
||||||
</Project>
|
</Project>
|
Loading…
x
Reference in New Issue
Block a user