Skip to content

Commit eaddbb0

Browse files
committed
Update the sample site
1 parent d48e940 commit eaddbb0

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.github/workflows/gh-pages.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
# Checkout the code
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

15-
# Install .NET Core SDK
16-
- name: Setup .NET Core
17-
uses: actions/setup-dotnet@v3
15+
# Install .NET SDK
16+
- name: Setup .NET SDK
17+
uses: actions/setup-dotnet@v4
1818
with:
19-
dotnet-version: 7.0.x
19+
dotnet-version: 8.0.x
2020
- name: Install .NET WebAssembly Tools
2121
run: dotnet workload install wasm-tools
2222

2323
# Publish the site
2424
- name: Publish
25-
run: dotnet publish SampleApps/BlazorWasmApp/BlazorWasmApp.csproj -c:Release -o:public -p:GHPages=true -f:net7.0
25+
run: dotnet publish SampleApps/BlazorWasmApp/BlazorWasmApp.csproj -c:Release -o:public -p:GHPages=true -f:net8.0
2626

2727
# Deploy the site
2828
- name: Deploy
29-
uses: peaceiris/actions-gh-pages@v3
29+
uses: peaceiris/actions-gh-pages@v4
3030
with:
3131
github_token: ${{ secrets.GITHUB_TOKEN }}
3232
publish_dir: public/wwwroot
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<InvariantGlobalization>true</InvariantGlobalization>
88
<BlazorEnableTimeZoneSupport>false</BlazorEnableTimeZoneSupport>
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Blazored.LocalStorage" Version="4.3.0" />
13-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.2" />
14-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.2" PrivateAssets="all" />
15-
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="2.0.2" />
12+
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
13+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.8" />
14+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.8" PrivateAssets="all" />
15+
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="2.2.0" />
16+
<PackageReference Include="System.Text.Json" Version="8.0.4" />
1617
</ItemGroup>
1718

1819
<ItemGroup>
1920
<!--<ProjectReference Include="..\..\SplitContainer\SplitContainer.csproj" />-->
20-
<PackageReference Include="Toolbelt.Blazor.SplitContainer" Version="1.1.1" />
21+
<PackageReference Include="Toolbelt.Blazor.SplitContainer" Version="1.1.2.1" />
2122
</ItemGroup>
2223

2324
</Project>

0 commit comments

Comments
 (0)