Skip to content

Commit

Permalink
update project dependencies (#8785)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Sep 28, 2024
1 parent 04285d3 commit 4ba7536
Show file tree
Hide file tree
Showing 21 changed files with 72 additions and 75 deletions.
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.4'

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

- name: Create project from Boilerplate
run: |
Expand Down
8 changes: 4 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 @@ -22,7 +22,7 @@ jobs:

- 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 +40,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 @@ -54,7 +54,7 @@ jobs:

- 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.4'

- 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.4'

- name: Create project from Boilerplate
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.90" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.90" />
<PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.90" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.90" />
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="$(MauiVersion)" />
</ItemGroup>

<!-- Build Properties must be defined within these property groups to ensure successful publishing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Wpf" Version="8.0.90" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Wpf" Version="8.0.91" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2792.45" />
<PackageReference Include="Velopack" Version="0.0.626" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
Expand Down
5 changes: 2 additions & 3 deletions src/Butil/Demo/Bit.Butil.Demo.Maui/Bit.Butil.Demo.Maui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.90" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.90" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.90" />
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
</ItemGroup>

Expand Down
Loading

0 comments on commit 4ba7536

Please sign in to comment.