Skip to content

Commit b95ff8f

Browse files
authored
chore: update .NET version installed by azure-static-app.yml
The **Azure Static Web Apps CI/CD** stage is failing: Error: /usr/share/dotnet/sdk/8.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(166,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download Update `azure-static-app.yml` to install .NET 9.0.308.
1 parent e43b825 commit b95ff8f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/azure-static-app.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
container: 'unoplatform/wasm-build:3.0'
2222
name: Build and Deploy Job
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v5
2525
with:
2626
fetch-depth: 0 # Required for gitversion
2727
submodules: true
2828

29-
- name: Setup dotnet 8.0.301
30-
uses: actions/setup-dotnet@v3
29+
- name: Setup dotnet 9.0.308
30+
uses: actions/setup-dotnet@v5
3131
with:
32-
dotnet-version: '8.0.301'
32+
dotnet-version: '9.0.308'
3333

3434
- uses: dotnet/nbgv@f088059084cb5d872e9d1a994433ca6440c2bf72 # v0.4.2
3535
id: nbgv

0 commit comments

Comments
 (0)