Skip to content

Commit eb9655a

Browse files
Update GitHub Actions workflow for .NET SDK version
1 parent 1aa42c2 commit eb9655a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
# Checkout the code
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616

17-
# Install .NET 8.0 SDK
18-
- name: Setup .NET 8 preview
17+
# Install .NET 10.0 SDK
18+
- name: Setup .NET 10 preview
1919
uses: actions/setup-dotnet@v3
2020
with:
21-
dotnet-version: '8.0.x'
21+
dotnet-version: '10.0.x'
2222
include-prerelease: true
2323

2424
# Generate the website
@@ -30,7 +30,7 @@ jobs:
3030
if: ${{ github.ref == 'refs/heads/main' }} # Publish only when the push is on main
3131
uses: peaceiris/actions-gh-pages@v3.6.1
3232
with:
33-
github_token: ${{ secrets.PUBLISH_TOKEN }}
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
3434
publish_branch: gh-pages
3535
publish_dir: build/wwwroot
3636
allow_empty_commit: false

0 commit comments

Comments
 (0)