Skip to content

Commit 2846e3f

Browse files
authored
Update build-gh-pages.yml
faafo
1 parent fcdfb98 commit 2846e3f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/build-gh-pages.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,16 @@ jobs:
2222
steps:
2323
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626

27-
- name: Setup .NET 3.1
28-
uses: actions/setup-dotnet@v3
27+
- name: Setup dotnet
28+
uses: actions/setup-dotnet@v4
2929
with:
30-
dotnet-version: 3.1.301
31-
32-
- name: Setup .NET 5
33-
uses: actions/setup-dotnet@v3
34-
with:
35-
dotnet-version: 5.0.102
30+
dotnet-version: |
31+
3.1.x
32+
5.0.x
33+
6.0.x
34+
7.0.x
3635
3736
- name: Restore dotnet tools
3837
run: dotnet tool restore
@@ -51,4 +50,4 @@ jobs:
5150
TOKEN: ${{ secrets.GITHUB_TOKEN }}
5251
BRANCH: gh-pages # The branch the action should deploy to.
5352
FOLDER: ./src/_public # The folder the action should deploy.
54-
CLEAN: true # Automatically remove deleted files from the deploy branch
53+
CLEAN: true # Automatically remove deleted files from the deploy branch

0 commit comments

Comments
 (0)