From 12f3509bf07428be37142ac663e8114cf7b534a2 Mon Sep 17 00:00:00 2001 From: Pavel Maloletckov Date: Sun, 22 Dec 2024 01:23:10 -0500 Subject: [PATCH] GitHub action edit, updated to build correctly on linux --- .github/workflows/dotnet.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 410b736..1b616e6 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -15,14 +15,17 @@ jobs: steps: - uses: actions/checkout@v4 - + - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.203 - - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v2 + - name: Set up Mono for MSBuild + run: | + sudo apt update + sudo apt install -y mono-complete + msbuild -version - name: Restore dependencies run: msbuild /t:Restore