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

Add support for .NET 9 (#7761) #8655

Closed
wants to merge 82 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
6c5d8a4
Add support for .NET 9
ysmoradi Sep 16, 2024
0c5e3b4
merge results
ysmoradi Sep 16, 2024
cf7d515
fix
ysmoradi Sep 16, 2024
9b1b6dd
fix
ysmoradi Sep 16, 2024
05a5303
fix
ysmoradi Sep 16, 2024
175cd75
PLATFORM WEBSITE 8
ysmoradi Sep 16, 2024
e76e5af
fix
ysmoradi Sep 16, 2024
e053656
GOOGEL AND CLARITY
ysmoradi Sep 16, 2024
0ea88e1
fix
ysmoradi Sep 16, 2024
f277d51
fix
ysmoradi Sep 16, 2024
43258b0
fix
ysmoradi Sep 16, 2024
e1fd51b
fix
ysmoradi Sep 16, 2024
4421521
fix
ysmoradi Sep 16, 2024
bb79f4d
fix
ysmoradi Sep 16, 2024
8cdb6ee
FIX
ysmoradi Sep 16, 2024
a1cc6d7
fix
ysmoradi Sep 16, 2024
8db2fe8
fix
ysmoradi Sep 17, 2024
db469f5
fix
ysmoradi Sep 17, 2024
41c7296
fix
ysmoradi Sep 17, 2024
5019e7c
fix
ysmoradi Sep 17, 2024
d87aadc
fix
ysmoradi Sep 17, 2024
e1c7ca3
fix
ysmoradi Sep 17, 2024
0af3155
fix
ysmoradi Sep 17, 2024
e2d7c7b
Merge branch '7761-dotnet9' of https://github.com/ysmoradi/bitplatfor…
ysmoradi Sep 17, 2024
872218d
fix
ysmoradi Sep 17, 2024
23e4e40
fix
ysmoradi Sep 17, 2024
89841e4
fix
ysmoradi Sep 17, 2024
25d805d
merge results
ysmoradi Sep 17, 2024
f958ce1
merge results
ysmoradi Sep 18, 2024
0238dc3
Merge branch '7761-dotnet9' of https://github.com/ysmoradi/bitplatfor…
ysmoradi Sep 18, 2024
c6840ce
fix
ysmoradi Sep 18, 2024
ccb65d1
merge results
ysmoradi Sep 18, 2024
f5a39b0
fix
ysmoradi Sep 18, 2024
492a7bd
Merge branch 'bitfoundation:develop' into 7761-dotnet9
ysmoradi Sep 18, 2024
b05bf2b
merge results
ysmoradi Sep 19, 2024
13638c1
Merge branch '7761-dotnet9' of https://github.com/ysmoradi/bitplatfor…
ysmoradi Sep 19, 2024
21168a9
merge result
ysmoradi Sep 19, 2024
9e08c52
fix
ysmoradi Sep 19, 2024
a1cbce8
integrity
ysmoradi Sep 19, 2024
07fe4d7
Revert "integrity"
ysmoradi Sep 19, 2024
dafc124
merge results
ysmoradi Sep 20, 2024
0f7ec3b
pwa
ysmoradi Sep 20, 2024
3e4ecee
PWA 2
ysmoradi Sep 20, 2024
1de041b
merge results
ysmoradi Sep 23, 2024
6985dfd
Merge branch '7761-dotnet9' of https://github.com/ysmoradi/bitplatfor…
ysmoradi Sep 23, 2024
abd7919
fix
ysmoradi Sep 23, 2024
1033573
fix
ysmoradi Sep 23, 2024
7b6c3d4
Update tool and package versions
ysmoradi Sep 24, 2024
6af9c70
fix
ysmoradi Sep 24, 2024
3866a0c
Merge branch 'bitfoundation:develop' into 7761-dotnet9
ysmoradi Sep 24, 2024
19a3b5d
merge results
ysmoradi Sep 25, 2024
e80aedd
Merge branch '7761-dotnet9' of https://github.com/ysmoradi/bitplatfor…
ysmoradi Sep 25, 2024
7d2b0ca
merge results
ysmoradi Sep 25, 2024
c4afabd
fix
ysmoradi Sep 25, 2024
489e3fb
fix
ysmoradi Sep 25, 2024
450c422
fix
ysmoradi Sep 25, 2024
d00b5f5
fix
ysmoradi Sep 25, 2024
6a6cb17
fix
ysmoradi Sep 25, 2024
a6a5d22
fix
ysmoradi Sep 25, 2024
21d2551
fix
ysmoradi Sep 25, 2024
3043db5
fix
ysmoradi Sep 25, 2024
adff6e9
fix
ysmoradi Sep 25, 2024
4104cbd
fix
ysmoradi Sep 25, 2024
57237ae
fix
ysmoradi Sep 25, 2024
a0f1c0b
fix
ysmoradi Sep 25, 2024
fc2e830
fix
ysmoradi Sep 25, 2024
70099a1
fix
ysmoradi Sep 25, 2024
7aeeba8
fix
ysmoradi Sep 25, 2024
9d8870e
fix
ysmoradi Sep 25, 2024
1951574
Enhanced BlazorWebAssemblyStandalone
ysmoradi Sep 26, 2024
76265ac
Fixed css bundle issue
ysmoradi Sep 26, 2024
11b184d
Enhanced AppPlatform
ysmoradi Sep 26, 2024
f6264d6
Improved blazor additional assemblies
ysmoradi Sep 26, 2024
9405393
Small fixes
ysmoradi Sep 26, 2024
f331310
Fixed css bundle issue
ysmoradi Sep 26, 2024
020fd47
Enhanced BlazorWebAssemblyStandalone
ysmoradi Sep 26, 2024
963fd0b
fix
ysmoradi Sep 26, 2024
153ac25
merge results
ysmoradi Sep 26, 2024
4b662fe
merge results
ysmoradi Sep 26, 2024
4713127
merge results
ysmoradi Sep 26, 2024
21ff816
merge results
ysmoradi Sep 26, 2024
8c8fb95
merge results
ysmoradi Sep 26, 2024
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/3b2b3c23-574b-45d7-b2b0-c67f0e935308/23ed647eb71a8f07414124422c15927d/dotnet-sdk-9.0.100-rc.1.24452.12-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 && find . -type f -name '*.csproj' -exec sed -i 's/Microsoft.NET.Sdk.BlazorWebAssembly/Microsoft.NET.Sdk.Web/g' {} \\;",
"waitFor": "onCreateCommand",
"customizations": {
"codespaces": {
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/admin-sample.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
cd src/Templates/Boilerplate && dotnet build -c Release
dotnet pack -c Release -o . -p:ReleaseVersion=0.0.0 -p:PackageVersion=0.0.0
dotnet new install Bit.Boilerplate.0.0.0.nupkg
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage --api Standalone
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage --api Standalone --framework net9.0

- name: Update core appsettings.json
uses: devops-actions/[email protected]
Expand All @@ -61,7 +61,7 @@ jobs:
run: dotnet build AdminPanel/src/Client/AdminPanel.Client.Core/AdminPanel.Client.Core.csproj -t:BeforeBuildTasks -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" --no-restore -c Release

- name: Publish
run: dotnet publish AdminPanel/src/Server/AdminPanel.Server.Api/AdminPanel.Server.Api.csproj -c Release -p:PwaEnabled=true -p:PublishTrimmed=true -p:TrimMode=partial -p:JsonSerializerIsReflectionEnabledByDefault=true --self-contained -r linux-x64 -o ${{env.DOTNET_ROOT}}/server -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}"
run: dotnet publish AdminPanel/src/Server/AdminPanel.Server.Api/AdminPanel.Server.Api.csproj -c Release -p:PwaEnabled=true --self-contained -r linux-x64 -o ${{env.DOTNET_ROOT}}/server -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}"

- name: Upload server artifact
uses: actions/upload-artifact@v4
Expand All @@ -72,7 +72,7 @@ jobs:
- name: Publish adminpanel blazor wasm standalone
run: |
sed -i 's/adminpanel.bitplatform.dev/adminpanel-api.bitplatform.dev/g' AdminPanel/src/Client/AdminPanel.Client.Web/wwwroot/index.html
dotnet publish AdminPanel/src/Client/AdminPanel.Client.Web/AdminPanel.Client.Web.csproj -c Release -p:BlazorWebAssemblyStandalone=true -o ${{env.DOTNET_ROOT}}/static
dotnet publish AdminPanel/src/Client/AdminPanel.Client.Web/AdminPanel.Client.Web.csproj -c Release -p:PwaEnabled=true -p:ResolveAssemblyReferencesFindRelatedSatellites=true -o ${{env.DOTNET_ROOT}}/static

- name: Upload static artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
cd src\Templates\Boilerplate && dotnet build -c Release
dotnet pack -c Release -o . -p:ReleaseVersion=0.0.0 -p:PackageVersion=0.0.0
dotnet new install Bit.Boilerplate.0.0.0.nupkg
cd ..\..\..\ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --windows --appInsights --appCenter --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage
cd ..\..\..\ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --windows --appInsights --appCenter --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage --framework net9.0

- name: Update core appsettings.json
uses: devops-actions/[email protected]
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
echo A | xcopy .\bin\publish-x64 .\publish-result /s /e /h
echo A | xcopy .\bin\publish .\publish-result /s /e /h
dotnet tool restore
dotnet vpk pack -u AdminPanel.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e AdminPanel.Client.Windows-x86.exe -r win-x86 --framework net8.0.8-x86-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'AdminPanel'
dotnet vpk pack -u AdminPanel.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e AdminPanel.Client.Windows-x86.exe -r win-x86 --framework net9.0.0-x86-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'AdminPanel'

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand All @@ -205,7 +205,7 @@ jobs:
cd src/Templates/Boilerplate && dotnet build -c Release
dotnet pack -c Release -o . -p:ReleaseVersion=0.0.0 -p:PackageVersion=0.0.0
dotnet new install Bit.Boilerplate.0.0.0.nupkg
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --appCenter --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --appCenter --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage --framework net9.0

- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -242,13 +242,13 @@ jobs:
dotnet build AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -t:BeforeBuildTasks -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" --no-restore -c Release

- name: Build aab
run: dotnet build AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -c Release -p:AndroidPackageFormat=aab -p:AndroidKeyStore=true -p:AndroidSigningKeyStore="AdminPanel.keystore" -p:AndroidSigningKeyAlias=bitplatform -p:AndroidSigningKeyPass="${{ secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD }}" -p:AndroidSigningStorePass="${{ secrets.ANDROID_RELEASE_SIGNING_PASSWORD }}" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -p:ApplicationTitle="AdminPanel" -p:ApplicationId="com.bitplatform.AdminPanel.Template" -f net8.0-android
run: dotnet build AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -c Release -p:AndroidPackageFormat=aab -p:AndroidKeyStore=true -p:AndroidSigningKeyStore="AdminPanel.keystore" -p:AndroidSigningKeyAlias=bitplatform -p:AndroidSigningKeyPass="${{ secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD }}" -p:AndroidSigningStorePass="${{ secrets.ANDROID_RELEASE_SIGNING_PASSWORD }}" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -p:ApplicationTitle="AdminPanel" -p:ApplicationId="com.bitplatform.AdminPanel.Template" -f net9.0-android

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: android-bundle
path: AdminPanel/src/Client/AdminPanel.Client.Maui/bin/Release/net8.0-android/*-Signed.*
path: AdminPanel/src/Client/AdminPanel.Client.Maui/bin/Release/net9.0-android/*-Signed.*

build_blazor_hybrid_ios:
name: build blazor hybrid (iOS-macOS)
Expand Down Expand Up @@ -277,7 +277,7 @@ jobs:
cd src/Templates/Boilerplate && dotnet build -c Release
dotnet pack -c Release -o . -p:ReleaseVersion=0.0.0 -p:PackageVersion=0.0.0
dotnet new install Bit.Boilerplate.0.0.0.nupkg
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --appCenter --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --appCenter --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage --framework net9.0

- name: Update core appsettings.json
uses: devops-actions/[email protected]
Expand Down Expand Up @@ -314,10 +314,10 @@ jobs:
dotnet build AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -t:BeforeBuildTasks -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" --no-restore -c Release

- name: Build ipa
run: dotnet publish AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -p:RuntimeIdentifier=ios-arm64 -c Release -p:ArchiveOnBuild=true -p:CodesignKey="iPhone Distribution" -p:CodesignProvision="AdminPanel" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -p:ApplicationTitle="AdminPanel" -p:ApplicationId="com.bitplatform.AdminPanel.Template" -f net8.0-ios
run: dotnet publish AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -p:RuntimeIdentifier=ios-arm64 -c Release -p:ArchiveOnBuild=true -p:CodesignKey="iPhone Distribution" -p:CodesignProvision="AdminPanel" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -p:ApplicationTitle="AdminPanel" -p:ApplicationId="com.bitplatform.AdminPanel.Template" -f net9.0-ios

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ios-bundle
path: AdminPanel/src/Client/AdminPanel.Client.Maui/bin/release/net8.0-ios/ios-arm64/publish/*.ipa
path: AdminPanel/src/Client/AdminPanel.Client.Maui/bin/release/net9.0-ios/ios-arm64/publish/*.ipa
21 changes: 11 additions & 10 deletions .github/workflows/bit.full.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
with:
global-json-file: src/global.json

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x

- uses: actions/setup-node@v4
with:
node-version: 20
Expand All @@ -31,7 +36,7 @@ jobs:
cd src/Templates/Boilerplate && dotnet build -c Release
dotnet pack -c Release -o . -p:ReleaseVersion=0.0.0 -p:PackageVersion=0.0.0
dotnet new install Bit.Boilerplate.0.0.0.nupkg && cd ../../../
dotnet workload install maui-tizen maui-android wasm-tools
dotnet workload install maui-tizen maui-android wasm-tools wasm-tools-net8
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"

- name: Install sql server
Expand All @@ -53,15 +58,15 @@ jobs:

- name: Test SqlServer database option
run: |
dotnet new bit-bp --name TestSqlServer --database SqlServer
dotnet new bit-bp --name TestSqlServer --database SqlServer --framework net8.0
cd TestSqlServer/src/Server/TestSqlServer.Server.Api/
dotnet tool restore
dotnet ef migrations add InitialMigration
dotnet ef database update
cd ../../Tests
dotnet test

- name: Test PostgreSQL, Cosmos, MySql, Other database options
- name: Test PostgreSQL, Cosmos, Other database options
run: |
dotnet new bit-bp --name TestPostgreSQL --database PostgreSQL
cd TestPostgreSQL/src/Server/TestPostgreSQL.Server.Api/
Expand All @@ -71,10 +76,6 @@ jobs:
cd TestCosmos/src/Server/TestCosmos.Server.Api/
dotnet build
cd ../../../../
dotnet new bit-bp --name TestMySql --database MySql
cd TestMySql/src/Server/TestMySql.Server.Api/
dotnet build
cd ../../../../
dotnet new bit-bp --name TestOther --database Other
cd TestOther/src/Server/TestOther.Server.Api/
dotnet build
Expand All @@ -98,19 +99,19 @@ jobs:
cd TestStandalone.Server.Web/
dotnet build
cd ../../../../
dotnet new bit-bp --name TestIntegrated --api Integrated
dotnet new bit-bp --name TestIntegrated --api Integrated --framework net8.0
cd TestIntegrated/src/Server/TestIntegrated.Server.Web/
dotnet build

- name: Test sample configuration 1
run: |
dotnet new bit-bp --name TestProject --database Cosmos --filesStorage AzureBlobStorage --api Integrated --captcha reCaptcha --pipeline Azure --sample Admin --offlineDb true --windows true --appInsights true --appCenter true --signalr true
dotnet build TestProject/TestProject.sln -p:MultilingualEnabled=true -p:PWA=true -p:BlazorWebAssemblyStandalone=true -p:Environment=Staging
dotnet build TestProject/TestProject.sln -p:MultilingualEnabled=true -p:PwaEnabled=true -p:Environment=Staging

- name: Test sample configuration 2
run: |
dotnet new bit-bp --name TestProject2 --database Other --filesStorage Other --api Standalone --captcha None --pipeline None --sample None --offlineDb false --windows false --appInsights false --appCenter false --signalr false
dotnet build TestProject2/TestProject2.sln -p:MultilingualEnabled=false -p:PWA=false -p:BlazorWebAssemblyStandalone=false -p:Environment=Development
dotnet build TestProject2/TestProject2.sln -p:MultilingualEnabled=false -p:PwaEnabled=false -p:Environment=Development

- name: Run BeforeBuildTasks
continue-on-error: true # Error MSB4057, not all csproj files have BeforeBuildTasks target.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/blazorui.demo.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
echo A | xcopy .\bin\publish-x64 .\publish-result /s /e /h
echo A | xcopy .\bin\publish .\publish-result /s /e /h
dotnet tool restore
dotnet vpk pack -u Bit.BlazorUI.Demo.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e Bit.BlazorUI.Demo.Client.Windows-x86.exe -r win-x86 --framework net8.0.8-x86-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'Bit Blazor UI'
dotnet vpk pack -u Bit.BlazorUI.Demo.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e Bit.BlazorUI.Demo.Client.Windows-x86.exe -r win-x86 --framework net9.0.0-x86-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'Bit Blazor UI'

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -182,13 +182,13 @@ jobs:
run: dotnet build src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -c Release

- name: Build aab
run: dotnet build src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj -c Release -p:AndroidPackageFormat=aab -p:AndroidKeyStore=true -p:AndroidSigningKeyStore="BitBlazorUIDemo.keystore" -p:AndroidSigningKeyAlias=bitplatform -p:AndroidSigningKeyPass="${{ secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD }}" -p:AndroidSigningStorePass="${{ secrets.ANDROID_RELEASE_SIGNING_PASSWORD }}" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -f net8.0-android
run: dotnet build src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj -c Release -p:AndroidPackageFormat=aab -p:AndroidKeyStore=true -p:AndroidSigningKeyStore="BitBlazorUIDemo.keystore" -p:AndroidSigningKeyAlias=bitplatform -p:AndroidSigningKeyPass="${{ secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD }}" -p:AndroidSigningStorePass="${{ secrets.ANDROID_RELEASE_SIGNING_PASSWORD }}" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -f net9.0-android

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: android-bundle
path: src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/bin/Release/net8.0-android/*-Signed.*
path: src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/bin/Release/net9.0-android/*-Signed.*

build_blazor_hybrid_ios:
name: build blazor hybrid (iOS-macOS)
Expand Down Expand Up @@ -240,10 +240,10 @@ jobs:
run: dotnet build src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -c Release

- name: Build ipa
run: dotnet publish src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj -p:RuntimeIdentifier=ios-arm64 -c Release -p:ArchiveOnBuild=true -p:CodesignKey="iPhone Distribution" -p:CodesignProvision="Bit Blazor UI Demo" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -f net8.0-ios
run: dotnet publish src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj -p:RuntimeIdentifier=ios-arm64 -c Release -p:ArchiveOnBuild=true -p:CodesignKey="iPhone Distribution" -p:CodesignProvision="Bit Blazor UI Demo" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -f net9.0-ios

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ios-bundle
path: src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/bin/release/net8.0-ios/ios-arm64/publish/*.ipa
path: src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/bin/release/net9.0-ios/ios-arm64/publish/*.ipa
Loading
Loading