Skip to content

Commit a6f0938

Browse files
committed
Update actions to using artifacts
1 parent 43aa5d1 commit a6f0938

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/build-and-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ jobs:
5151
uses: peaceiris/actions-gh-pages@v3
5252
with:
5353
github_token: ${{ secrets.GITHUB_TOKEN }}
54-
publish_dir: ./samples/Memento.Sample.BlazorWasm/bin/Release/net8.0/publish/wwwroot
54+
publish_dir: ./artifacts/publish/Memento.Sample.BlazorWasm/release_net8.0/wwwroot
5555
force_orphan: true

samples/Memento.Sample.Blazor/Memento.Sample.Blazor.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.2" />
1112
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.2" />
1213
</ItemGroup>
1314

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<ImplicitUsings>enable</ImplicitUsings>
4-
<Nullable>enable</Nullable>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<ImplicitUsings>enable</ImplicitUsings>
4+
<Nullable>enable</Nullable>
55
</PropertyGroup>
66

77
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
88
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.*" />
9-
</ItemGroup>
10-
11-
<ItemGroup>
12-
<ProjectReference Include="..\Memento.Core\Memento.Core.csproj" />
13-
</ItemGroup>
9+
</ItemGroup>
10+
11+
<ItemGroup>
12+
<ProjectReference Include="..\Memento.Core\Memento.Core.csproj" />
13+
</ItemGroup>
1414
</Project>

0 commit comments

Comments
 (0)