Skip to content

Commit

Permalink
fix pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymGorn committed Nov 15, 2023
1 parent 2968e3a commit 4f5668c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ jobs:
# uses GitHub's checkout action to checkout code form the master branch
- uses: actions/checkout@v3

# sets up .NET Core SDK 7, 6
- name: Setup .NET 7, 6
# sets up .NET Core SDK 8, 7, 6
- name: Setup .NET 8, 7, 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Restore dependencies
run: dotnet restore
Expand All @@ -44,7 +45,7 @@ jobs:
- name: Coverage
uses: codecov/[email protected]
with:
files: coverage.net6.0.cobertura.xml, coverage.net7.0.cobertura.xml
files: coverage.net6.0.cobertura.xml, coverage.net7.0.cobertura.xml, coverage.net8.0.cobertura.xml
fail_ci_if_error: true
verbose: true

Expand Down Expand Up @@ -125,13 +126,13 @@ jobs:

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

steps:
- uses: actions/checkout@v3

# sets up .NET Core SDK 7, 6
- name: Setup .NET 7, 6
# sets up .NET Core SDK 8, 7, 6
- name: Setup .NET 8, 7, 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
Expand Down Expand Up @@ -164,3 +165,13 @@ jobs:
run: dotnet build --no-restore
working-directory: examples\Cropper.Blazor.MAUI.Net6
if: matrix.dotnet-version == '6.0.x'

- name: DotNet Build Blazor Server Demo Project
run: dotnet build --no-restore
working-directory: examples\Cropper.Blazor.Server.Net8
if: matrix.dotnet-version == '8.0.x'

- name: DotNet Build Blazor MAUI Demo Project
run: dotnet build --no-restore
working-directory: examples\Cropper.Blazor.MAUI.Net8
if: matrix.dotnet-version == '8.0.x'
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ jobs:
steps:
- uses: actions/checkout@v3

# sets up .NET Core SDK 7, 6
- name: Setup .NET 7, 6
# sets up .NET Core SDK 8, 7, 6
- name: Setup .NET 8, 7, 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Restore dependencies
run: dotnet restore
Expand All @@ -45,7 +46,7 @@ jobs:
- name: Coverage
uses: codecov/[email protected]
with:
files: coverage.net6.0.cobertura.xml, coverage.net7.0.cobertura.xml
files: coverage.net6.0.cobertura.xml, coverage.net7.0.cobertura.xml, coverage.net8.0.cobertura.xml
fail_ci_if_error: true
verbose: true

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:
# uses GitHub's checkout action to checkout code form the master branch
- uses: actions/checkout@v3

# sets up .NET Core SDK 7, 6
- name: Setup .NET 7, 6
# sets up .NET Core SDK 8, 7, 6
- name: Setup .NET 8, 7, 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Restore dependencies
run: dotnet restore
Expand Down

0 comments on commit 4f5668c

Please sign in to comment.