Fix automated builds

Revert to Windows 2019 because support for .NET 4 is dropped on Windows 2022.
This commit is contained in:
ORelio 2022-03-06 20:09:40 +01:00 committed by GitHub
parent 8795aab810
commit 41950c8b20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# This workflow will build the project using .NET 4 then publish to GitHub releases # This workflow will build the project using .NET 4 then publish to GitHub releases
# Due to running .NET 4 this workflow needs to run on windows-latest # Due to running .NET 4 this workflow needs to run on windows-2019 (support dropped on windows 2022)
# Changes would need to be made for using .NET 5 and later on linux # Changes would need to be made for using .NET 5 and later on linux
name: Build name: Build
@ -10,7 +10,7 @@ on:
jobs: jobs:
build: build:
runs-on: windows-latest runs-on: windows-2019
env: env:
PROJECT: "MinecraftClient" PROJECT: "MinecraftClient"