Skip to content

Commit fad5ace

Browse files
committed
Update XrefGen script and move app
1 parent 9456538 commit fad5ace

File tree

69 files changed

+52
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+52
-25
lines changed

.github/workflows/static.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Simple workflow for deploying static content to GitHub Pages
22
name: Deploy static content to Pages
33
env:
4-
PUBLISH_DIR: 9.0/BlazorWebAssemblyXrefGenerator/bin/Release/net8.0/publish/wwwroot
4+
PUBLISH_DIR: BlazorWebAssemblyXrefGenerator/bin/Release/net8.0/publish/wwwroot
55

66
on:
77
# Runs on pushes targeting the default branch
88
push:
99
paths:
10-
- 9.0/BlazorWebAssemblyXrefGenerator/**
10+
- BlazorWebAssemblyXrefGenerator/**
1111

1212
# Allows you to run this workflow manually from the Actions tab
1313
workflow_dispatch:
@@ -30,13 +30,20 @@ jobs:
3030
environment:
3131
name: github-pages
3232
url: ${{ steps.deployment.outputs.page_url }}
33+
3334
runs-on: ubuntu-latest
35+
3436
steps:
3537
- name: Checkout
3638
uses: actions/checkout@v4
3739

40+
- name: Get latest .NET SDK
41+
uses: actions/setup-dotnet@v4
42+
with:
43+
dotnet-version: '9.0.0'
44+
3845
- name: Publish app
39-
run: dotnet publish 9.0/BlazorWebAssemblyXrefGenerator -c Release
46+
run: dotnet publish BlazorWebAssemblyXrefGenerator -c Release
4047

4148
- name: Rewrite base href
4249
uses: SteveSandersonMS/ghaction-rewrite-base-href@v1
@@ -46,10 +53,12 @@ jobs:
4653

4754
- name: Setup Pages
4855
uses: actions/configure-pages@v5
56+
4957
- name: Upload artifact
5058
uses: actions/upload-pages-artifact@v3
5159
with:
5260
path: ${{ env.PUBLISH_DIR }}
61+
5362
- name: Deploy to GitHub Pages
5463
id: deployment
5564
uses: actions/deploy-pages@v4

9.0/BlazorWebAssemblyXrefGenerator/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

9.0/BlazorWebAssemblyXrefGenerator/wwwroot/.nojekyll

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
11-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
12-
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
10+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
11+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" PrivateAssets="all" />
12+
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
1313
</ItemGroup>
1414

1515
</Project>

0 commit comments

Comments
 (0)