Skip to content

Commit b10e47b

Browse files
Patch workflow to dotnet 9 and update actions dependencies
1 parent c9a4d89 commit b10e47b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/dotnet.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
runs-on: windows-latest
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
- name: Setup .NET
24-
uses: actions/setup-dotnet@v4
24+
uses: actions/setup-dotnet@v5
2525
with:
26-
dotnet-version: 8.0.x
26+
dotnet-version: 9.0.x
2727

2828
- name: Build Windows Binary for Tutorial/BasicCameraExample
2929
run: dotnet build Tutorials/BasicCameraExample/BasicCameraExample.sln
3030

3131
- name: Archive Tutorial/BasicCameraExample
32-
uses: actions/upload-artifact@v4
32+
uses: actions/upload-artifact@v6
3333
with:
3434
name: BasicCameraExample
3535
path: Tutorials/BasicCameraExample/**
@@ -39,7 +39,7 @@ jobs:
3939
run: dotnet build AutoPong/AutoPong.WindowsDX/AutoPong.WindowsDX.csproj
4040

4141
- name: Archive AutoPong
42-
uses: actions/upload-artifact@v4
42+
uses: actions/upload-artifact@v6
4343
with:
4444
name: AutoPong
4545
path: AutoPong/**
@@ -49,7 +49,7 @@ jobs:
4949
run: dotnet build FuelCell/FuelCell.WindowsDX/FuelCell.WindowsDX.csproj
5050

5151
- name: Archive FuelCell
52-
uses: actions/upload-artifact@v4
52+
uses: actions/upload-artifact@v6
5353
with:
5454
name: FuelCell
5555
path: FuelCell/**
@@ -59,7 +59,7 @@ jobs:
5959
run: dotnet build NeonShooter/NeonShooter.WindowsDX/NeonShooter.WindowsDX.csproj
6060

6161
- name: Archive NeonShooter
62-
uses: actions/upload-artifact@v4
62+
uses: actions/upload-artifact@v6
6363
with:
6464
name: NeonShooter
6565
path: NeonShooter/**
@@ -69,7 +69,7 @@ jobs:
6969
run: dotnet build Platformer2D/Platformer2D.WindowsDX/Platformer2D.WindowsDX.csproj
7070

7171
- name: Archive Platformer2D
72-
uses: actions/upload-artifact@v4
72+
uses: actions/upload-artifact@v6
7373
with:
7474
name: Platformer2D
7575
path: Platformer2D/**
@@ -82,7 +82,7 @@ jobs:
8282
run: dotnet build ShipGame/ShipGame.WindowsDX/ShipGame.WindowsDX.csproj
8383

8484
- name: Archive ShipGame
85-
uses: actions/upload-artifact@v4
85+
uses: actions/upload-artifact@v6
8686
with:
8787
name: ShipGame
8888
path: ShipGame/**
@@ -92,7 +92,7 @@ jobs:
9292
run: dotnet build Tutorials/learn-monogame-2d/src/27-Conclusion/DungeonSlime/DungeonSlime.csproj --configuration Release
9393

9494
- name: Archive Platformer2D
95-
uses: actions/upload-artifact@v4
95+
uses: actions/upload-artifact@v6
9696
with:
9797
name: Learn-monogame-2d
9898
path: Tutorials/learn-monogame-2d/src/27-Conclusion/**

0 commit comments

Comments
 (0)