Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update project dependencies (#8785) #8786

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"hostRequirements": {
"cpus": 4
},
"onCreateCommand": "wget https://download.visualstudio.microsoft.com/download/pr/db901b0a-3144-4d07-b8ab-6e7a43e7a791/4d9d1b39b879ad969c6c0ceb6d052381/dotnet-sdk-8.0.401-linux-x64.tar.gz -O $HOME/dotnet.tar.gz && export DOTNET_ROOT=$HOME/.dotnet && mkdir -p \"$DOTNET_ROOT\" && tar zxf $HOME/dotnet.tar.gz -C \"$DOTNET_ROOT\" && export PATH=$DOTNET_ROOT:$DOTNET_ROOT/tools:$PATH && dotnet dev-certs https --trust && find . -type f -name '*.csproj' -exec sed -i 's/Microsoft.NET.Sdk.BlazorWebAssembly/Microsoft.NET.Sdk.Web/g' {} \\;",
"onCreateCommand": "wget https://download.visualstudio.microsoft.com/download/pr/1ebffeb0-f090-4001-9f13-69f112936a70/5dbc249b375cca13ec4d97d48ea93b28/dotnet-sdk-8.0.402-linux-x64.tar.gz -O $HOME/dotnet.tar.gz && export DOTNET_ROOT=$HOME/.dotnet && mkdir -p \"$DOTNET_ROOT\" && tar zxf $HOME/dotnet.tar.gz -C \"$DOTNET_ROOT\" && export PATH=$DOTNET_ROOT:$DOTNET_ROOT/tools:$PATH && dotnet dev-certs https --trust && find . -type f -name '*.csproj' -exec sed -i 's/Microsoft.NET.Sdk.BlazorWebAssembly/Microsoft.NET.Sdk.Web/g' {} \\;",
"waitFor": "onCreateCommand",
"customizations": {
"codespaces": {
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/admin-sample.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

build_api_blazor:
name: build api + blazor web
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install wasm
run: cd src && dotnet workload install wasm-tools
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
deploy_api_blazor:
name: deploy api + blazor
needs: build_api_blazor
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
environment:
name: 'production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Create project from Boilerplate
run: |
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:

build_blazor_hybrid_android:
name: build blazor hybrid (android)
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -209,7 +209,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Extract Android signing key from env
uses: timheuer/[email protected]
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:

build_blazor_hybrid_ios:
name: build blazor hybrid (iOS-macOS)
runs-on: macos-14
runs-on: macOS-15

steps:

Expand All @@ -266,11 +266,11 @@ jobs:

- uses: maxim-lobanov/[email protected]
with:
xcode-version: '15.4'
xcode-version: '16.0'

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Create project from Boilerplate
run: |
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/bit.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build-release:
if: startsWith(github.event.pull_request.title, 'Prerelease') || startsWith(github.event.pull_request.title, 'Release') || startsWith(github.event.pull_request.title, 'Version')
name: build and test for release
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -19,10 +19,17 @@ jobs:
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

- name: Setup .NET 6,7
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install wasm and maui
run: cd src && dotnet workload install maui-android wasm-tools
Expand All @@ -40,7 +47,7 @@ jobs:
build:
if: startsWith(github.event.pull_request.title, 'Prerelease') != true && startsWith(github.event.pull_request.title, 'Release') != true && startsWith(github.event.pull_request.title, 'Version') != true
name: build and test
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -51,10 +58,17 @@ jobs:
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

- name: Setup .NET 6,7
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install wasm and maui
run: cd src && dotnet workload install maui-android wasm-tools
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bit.full.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

build:
name: build and test
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -24,7 +24,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Prepare environment
run: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/blazorui.demo.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

build_api_blazor:
name: build api + blazor web
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -37,7 +37,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install wasm
run: cd src && dotnet workload install wasm-tools
Expand All @@ -60,7 +60,7 @@ jobs:
deploy_api_blazor:
name: deploy api + blazor
needs: build_api_blazor
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
environment:
name: 'production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Update appsettings.json api server address
uses: devops-actions/[email protected]
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:

build_blazor_hybrid_android:
name: build blazor hybrid (android)
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -156,7 +156,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Extract Android signing key from env
uses: timheuer/[email protected]
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:

build_blazor_hybrid_ios:
name: build blazor hybrid (iOS-macOS)
runs-on: macos-14
runs-on: macOS-15

steps:

Expand All @@ -206,11 +206,11 @@ jobs:

- uses: maxim-lobanov/[email protected]
with:
xcode-version: '15.4'
xcode-version: '16.0'

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Update appsettings.json api server address
uses: devops-actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nuget.org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
build-publish:
name: build & publish
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -31,7 +31,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Delete AssemblyOriginatorKeyFile.snk
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/platform.website.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

build_api_blazor:
name: build api + blazor web
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
deploy_api_blazor:
name: deploy api + blazor
needs: build_api_blazor
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
environment:
name: 'production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.nuget.org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build-publish:
name: build & publish
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout source code
uses: actions/checkout@v4
Expand All @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Delete AssemblyOriginatorKeyFile.snk
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sales.website.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

build_api_blazor:
name: build api + blazor web
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
deploy_api_blazor:
name: deploy api + blazor
needs: build_api_blazor
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
environment:
name: 'production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/todo-sample.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

build_api_blazor:
name: build api + blazor web
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -31,7 +31,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Create project from Boilerplate
run: |
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
deploy_api_blazor:
name: deploy api + blazor
needs: build_api_blazor
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
environment:
name: 'production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Create project from Boilerplate
run: |
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:

build_blazor_hybrid_android:
name: build blazor hybrid (android)
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -200,7 +200,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Create project from Boilerplate
run: |
Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:

build_blazor_hybrid_ios:
name: build blazor hybrid (iOS-macOS)
runs-on: macos-14
runs-on: macOS-15

steps:

Expand All @@ -284,11 +284,11 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- uses: maxim-lobanov/[email protected]
with:
xcode-version: '15.4'
xcode-version: '16.0'

- name: Create project from Boilerplate
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static class AppRenderMode
public static IComponentRenderMode NoPrerenderBlazorWebAssembly => new InteractiveWebAssemblyRenderMode(prerender: false);

public static IComponentRenderMode Current =>
BuildConfiguration.IsDebug() ? BlazorServer /*For better development experience*/ : Auto;
BuildConfiguration.IsDebug() ? BlazorServer /*For better development experience*/ : BlazorWebAssembly;

public static bool PwaEnabled { get; } =
#if PwaEnabled
Expand Down
Loading
Loading