Skip to content

Commit 47e4c68

Browse files
committed
Update GitHub actions
1 parent 5942c8a commit 47e4c68

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ on:
88

99
jobs:
1010
build:
11+
name: Deploy Site to GitHub Pages
1112
runs-on: ubuntu-latest
1213
steps:
13-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: '9'
1419

1520
- name: Publish app
1621
run: cd site/Site && dotnet publish -c Release

.github/workflows/push.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ on:
77

88
jobs:
99
build:
10+
name: Push packages to NuGet
1011
runs-on: ubuntu-latest
1112
steps:
12-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
14+
15+
- uses: actions/setup-dotnet@v4
16+
with:
17+
dotnet-version: '9'
1318

1419
- name: Pack Blazor.Diagrams.Core
1520
working-directory: src/Blazor.Diagrams.Core

0 commit comments

Comments
 (0)