Skip to content

Commit

Permalink
Merge branch 'dev' into feature/footer
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdForeign authored Oct 31, 2023
2 parents 0614d28 + 9f28b19 commit f124302
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 16 deletions.
43 changes: 29 additions & 14 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
working-directory: src/Cropper.Blazor/Cropper.Blazor.UnitTests

- name: Coverage
uses: codecov/[email protected].1
uses: codecov/[email protected].4
with:
file: coverage.net6.0.cobertura.xml
files: coverage.net6.0.cobertura.xml, coverage.net7.0.cobertura.xml
fail_ci_if_error: true
verbose: true

Expand Down Expand Up @@ -107,9 +107,25 @@ jobs:
folder: release/wwwroot
repository-name: CropperBlazor/CropperBlazor.github.io

install-maui-workloads:
name: Install MAUI Workloads
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Install MAUI Workloads
run: |
dotnet workload install maui --ignore-failed-sources
demo-projects-build:
name: Build Demo Projects
runs-on: windows-latest
needs: install-maui-workloads

strategy:
matrix:
dotnet-version: ['6.0.x', '7.0.x']

steps:
- uses: actions/checkout@v3
Expand All @@ -118,34 +134,33 @@ jobs:
- name: Setup .NET 7, 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Install MAUI Workloads
run: |
dotnet workload install maui --ignore-failed-sources
dotnet-version: ${{ matrix.dotnet-version }}

- name: Restore dependencies for Cropper.Blazor.Demo
run: dotnet restore
working-directory: examples

- name: DotNet Build MVC with Blazor Server Demo Project for .net 7
- name: DotNet Build MVC with Blazor Server Demo Project
run: dotnet build --no-restore
working-directory: examples\Cropper.MVC.With.Blazor.Server.Net7
if: matrix.dotnet-version == '7.0.x'

- name: DotNet Build Blazor Server Demo Project for .net 7
- name: DotNet Build Blazor Server Demo Project
run: dotnet build --no-restore
working-directory: examples\Cropper.Blazor.Server.Net7
if: matrix.dotnet-version == '7.0.x'

- name: DotNet Build Blazor MAUI Demo Project for .net 7
- name: DotNet Build Blazor MAUI Demo Project
run: dotnet build --no-restore
working-directory: examples\Cropper.Blazor.MAUI.Net7
if: matrix.dotnet-version == '7.0.x'

- name: DotNet Build Blazor Server Demo Project for .net 6
- name: DotNet Build Blazor Server Demo Project
run: dotnet build --no-restore
working-directory: examples\Cropper.Blazor.Server.Net6
if: matrix.dotnet-version == '6.0.x'

- name: DotNet Build Blazor MAUI Demo Project for .net 6
- name: DotNet Build Blazor MAUI Demo Project
run: dotnet build --no-restore
working-directory: examples\Cropper.Blazor.MAUI.Net6
if: matrix.dotnet-version == '6.0.x'
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
working-directory: src/Cropper.Blazor/Cropper.Blazor.UnitTests

- name: Coverage
uses: codecov/[email protected].1
uses: codecov/[email protected].4
with:
file: coverage.net6.0.cobertura.xml
files: coverage.net6.0.cobertura.xml, coverage.net7.0.cobertura.xml
fail_ci_if_error: true
verbose: true

Expand Down

0 comments on commit f124302

Please sign in to comment.