Skip to content

Commit df86c75

Browse files
committed
Update the GitHub Actions Workflow
1 parent 5a999ec commit df86c75

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,21 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
# Checkout the code
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

1515
# Install .NET SDK
1616
- name: Setup .NET
17-
uses: actions/setup-dotnet@v3
17+
uses: actions/setup-dotnet@v4
1818
with:
19-
dotnet-version: '8.0.x'
20-
dotnet-quality: 'preview'
19+
dotnet-version: '9.0.x'
2120

2221
# Publish the site
2322
- name: Publish
2423
run: dotnet publish SampleApps/BlazorWasmApp1/BlazorWasmApp1.csproj -c Release -o public -p GHPages=true --nologo
2524

2625
# Deploy the site
2726
- name: Deploy
28-
uses: peaceiris/actions-gh-pages@v3
27+
uses: peaceiris/actions-gh-pages@v4
2928
with:
3029
github_token: ${{ secrets.GITHUB_TOKEN }}
3130
publish_dir: public/wwwroot

0 commit comments

Comments
 (0)