Skip to content

Commit

Permalink
Update build script to work with MAUI
Browse files Browse the repository at this point in the history
  • Loading branch information
thirstyape committed Feb 10, 2025
1 parent 69ace27 commit 0cc674c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,18 @@ jobs:
with:
dotnet-version: ${{ matrix.dotnet-version }}.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet restore
working-directory: ./src/Blazor-ApexCharts
- name: Build Main
run: dotnet build --configuration Release --no-restore --framework net${{ matrix.dotnet-version }}.0
working-directory: ./src/Blazor-ApexCharts
- name: Install .NET MAUI
if: ${{ matrix.dotnet-version == 8 }}
run:
dotnet workload install maui
dotnet restore
working-directory: ./src/Blazor-ApexCharts-MAUI
- name: Build MAUI
if: ${{ matrix.dotnet-version == 8 }}
run: dotnet build --configuration Release --no-restore --framework net${{ matrix.dotnet-version }}.0
working-directory: ./src/Blazor-ApexCharts-MAUI

0 comments on commit 0cc674c

Please sign in to comment.