Skip to content

Commit fe3728d

Browse files
committed
updated gh build
1 parent 8f7eaa1 commit fe3728d

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/dotnet.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,19 @@ jobs:
2626
path: Ixian-Core
2727
ref: ${{ github.event.push.ref }}
2828

29-
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
30-
- name: Setup MSBuild.exe
31-
uses: microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16
32-
env:
33-
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
29+
- name: Setup .NET
30+
uses: actions/setup-dotnet@v3
31+
with:
32+
dotnet-version: '8.0.x'
33+
34+
- name: Install MAUI workload
35+
run: dotnet workload install maui
3436

3537
- name: Restore dependencies
36-
run: nuget restore Spixi.sln
38+
run: dotnet restore
3739

3840
- name: Building Spixi
39-
run: msbuild Spixi.sln -target:SPIXI_WPF
41+
run: dotnet build Spixi/Spixi.csproj -f net8.0-windows10.0.19041.0 -p:Platform=x64 -v:n
4042

4143
#- name: Running Unit Tests
4244
# run: dotnet test UnitTests\bin\Debug\unittests.dll --verbosity normal

Spixi-PushService/Spixi-PushService.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk" Condition="$(TargetFramework.Contains('-ios'))">
22
<PropertyGroup>
33
<TargetFrameworks>net8.0-ios</TargetFrameworks>
44
<OutputType>Library</OutputType>

0 commit comments

Comments
 (0)