Skip to content

Commit

Permalink
Fix pipelines for .net 9
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdForeign committed Dec 6, 2024
1 parent 3c10529 commit 1049113
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup .NET 8, 7, 6
- name: Setup .NET 9, 8, 7, 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Install WASM tools Workloads
run: |
Expand All @@ -56,6 +57,6 @@ jobs:
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.net6.0.cobertura.xml, coverage.net7.0.cobertura.xml, coverage.net8.0.cobertura.xml
files: coverage.net6.0.cobertura.xml, coverage.net7.0.cobertura.xml, coverage.net8.0.cobertura.xml, coverage.net9.0.cobertura.xml
fail_ci_if_error: true
verbose: true
3 changes: 2 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup .NET 8, 7, 6
- name: Setup .NET 9, 8, 7, 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Cache JDK
id: cache-jdk
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Verify file keys in Cropper.Blazor.staticwebassets.runtime.json
run: |
error_messages=""
for net_version in 6.0 7.0 8.0; do
for net_version in 6.0 7.0 8.0 9.0; do
json_path="src/Cropper.Blazor/Cropper.Blazor/bin/Release/net$net_version/Cropper.Blazor.staticwebassets.runtime.json"
if [ -f "$json_path" ]; then
Expand All @@ -66,7 +66,7 @@ jobs:
echo -e "$error_messages"
exit 1
else
echo "All keys exist for .NET 6, .NET 7, and .NET 8."
echo "All keys exist for .NET 6, .NET 7, .NET 8 and .NET 9."
fi
- name: Push to NuGet Gallery
Expand Down

0 comments on commit 1049113

Please sign in to comment.