2525env :
2626 PROJECTS : " ./src/Core/Microsoft.FluentUI.AspNetCore.Components.csproj"
2727 TESTS : " ./tests/Core/Microsoft.FluentUI.AspNetCore.Components.Tests.csproj"
28- DOTNET_VERSION : " net9 .0"
28+ DOTNET_VERSION : " net10 .0"
2929
3030jobs :
3131 Build :
@@ -48,17 +48,17 @@ jobs:
4848 # dotnet-version: 8.0.x
4949 # dotnet-quality: ga
5050
51- - name : Setup .NET 9.0
52- uses : actions/setup-dotnet@v4
53- with :
54- dotnet-version : 9.0.205
55- # dotnet-quality: ga
56-
57- # - name: Setup .NET 10.0
51+ # - name: Setup .NET 9.0
5852 # uses: actions/setup-dotnet@v4
5953 # with:
60- # dotnet-version: 10.0.x
61- # dotnet-quality: preview
54+ # dotnet-version: 9.0.x
55+ # dotnet-quality: ga
56+
57+ - name : Setup .NET 10.0
58+ uses : actions/setup-dotnet@v4
59+ with :
60+ dotnet-version : 10.0.x
61+ dotnet-quality : preview
6262
6363 # Build
6464
@@ -134,7 +134,7 @@ jobs:
134134 - name : Report Generator
135135 uses : danielpalme/ReportGenerator-GitHub-Action@5.2.4
136136 with :
137- reports : ' **/coverage.cobertura.xml;**/coverage.net8.0.cobertura.xml;**/coverage.net9.0 .cobertura.xml'
137+ reports : ' **/coverage.cobertura.xml;**/coverage.* .cobertura.xml'
138138 targetdir : ' CoverageReports'
139139 title : ' Unit Tests Code Coverage'
140140 classfilters : ' -Microsoft.FluentUI.AspNetCore.Components.DesignTokens.*'
@@ -151,80 +151,4 @@ jobs:
151151 continue-on-error : true
152152 with :
153153 path : CoverageReports/SummaryGithub.md
154- deploy_demo :
155- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
156- runs-on : ubuntu-latest
157- name : Build and Deploy Demo site
158- env :
159- DOTNET_VERSION : " net9.0"
160- DOTNET_CLI_TELEMETRY_OPTOUT : 1
161- DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
162- DOTNET_NOLOGO : true
163- DOTNET_GENERATE_ASPNET_CERTIFICATE : false
164- DOTNET_ADD_GLOBAL_TOOLS_TO_PATH : false
165- DOTNET_MULTILEVEL_LOOKUP : 0
166- PROJECT : " examples/Demo/Client/FluentUI.Demo.Client.csproj"
167- BUILD_ARCH : " Any CPU"
168- BUILD_CONFIG : " Release"
169- SKIP_DEPLOY_ON_MISSING_SECRETS : true
170- steps :
171- - name : Checkout source
172- uses : actions/checkout@v4
173-
174- - name : .NET Setup SDKs
175- uses : actions/setup-dotnet@v4
176- with :
177- dotnet-version : 9.0.205
178- # dotnet-quality: ga
179-
180- - name : .NET Builld
181- run : dotnet build ${{ env.PROJECT }} -c ${{ env.BUILD_CONFIG }} -o publish -f ${{ env.DOTNET_VERSION }} -r linux-x64 --self-contained=true -p:BuildNumber=$BUILD_NUMBER -p:SourceRevisionId=$GITHUB_SHA -p:ContinuousIntegrationBuild=true
182-
183- - name : .NET Publish
184- run : dotnet publish ${{ env.PROJECT }} -c ${{ env.BUILD_CONFIG }} -o publish -f ${{ env.DOTNET_VERSION }} -r linux-x64 --self-contained=true -p:BuildNumber=$BUILD_NUMBER -p:SourceRevisionId=$GITHUB_SHA -p:ContinuousIntegrationBuild=true
185-
186- - name : Deploy demo site to Azure Static Web App (old subscription)
187- id : builddeployold
188- uses : Azure/static-web-apps-deploy@v1
189- with :
190- azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BLACK_PEBBLE_0DC79CB03 }}
191- repo_token : ${{ secrets.GITHUB_TOKEN }}
192- action : " upload"
193- app_location : " publish/wwwroot"
194- api_location : " Api"
195- output_location : " publish/wwwroot"
196- skip_api_build : true
197- skip_app_build : true
198- production_branch : ' dev'
199-
200- - name : Deploy demo site to Azure Static Web App (new subscription)
201- id : builddeploynew
202- uses : Azure/static-web-apps-deploy@v1
203- with :
204- azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_ISLAND_005801E03 }}
205- repo_token : ${{ secrets.GITHUB_TOKEN }}
206- action : " upload"
207- app_location : " publish/wwwroot"
208- api_location : " Api"
209- output_location : " publish/wwwroot"
210- skip_api_build : true
211- skip_app_build : true
212- production_branch : ' dev'
213-
214- destroy :
215- if : github.event_name == 'pull_request' && github.event.action == 'closed'
216- runs-on : ubuntu-latest
217- name : Close Pull Request Job
218- steps :
219- - name : Close Pull Request on Azure Static Web App (old subscription)
220- id : closepullrequestold
221- uses : Azure/static-web-apps-deploy@v1
222- with :
223- azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BLACK_PEBBLE_0DC79CB03 }}
224- action : " close"
225- - name : Close Pull Request on Azure Static Web App (new subscription)
226- id : closepullrequestnew
227- uses : Azure/static-web-apps-deploy@v1
228- with :
229- azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_ISLAND_005801E03 }}
230- action : " close"
154+
0 commit comments