Skip to content

Commit 41950c8

Browse files
authored
Fix automated builds
Revert to Windows 2019 because support for .NET 4 is dropped on Windows 2022.
1 parent 8795aab commit 41950c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This workflow will build the project using .NET 4 then publish to GitHub releases
2-
# Due to running .NET 4 this workflow needs to run on windows-latest
2+
# Due to running .NET 4 this workflow needs to run on windows-2019 (support dropped on windows 2022)
33
# Changes would need to be made for using .NET 5 and later on linux
44

55
name: Build
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: windows-latest
13+
runs-on: windows-2019
1414

1515
env:
1616
PROJECT: "MinecraftClient"

0 commit comments

Comments
 (0)