Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Commit a2955b5

Browse files
authored
Fixes workflow
1 parent eb40e3b commit a2955b5

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/dotnet.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,13 @@ on: [push, pull_request]
1515

1616
jobs:
1717
build:
18-
runs-on: ubuntu-latest
18+
runs-on: windows-latest
1919

2020
steps:
21-
- uses: actions/checkout@v2
22-
- name: Setup .NET 3.1
23-
uses: actions/setup-dotnet@v1
24-
with:
25-
dotnet-version: 3.1
21+
- uses: actions/checkout@v3
22+
- name: Add msbuild to PATH
23+
uses: microsoft/setup-msbuild@v1.1
2624
- name: Restore dependencies
27-
run: nuget restore Vehicle-Attachment.sln
28-
- name: Build
29-
run: msbuild Vehicle-Attachment.sln /p:Configuration=Release /p:TargetFrameworkVersion="v4.5.2" /p:Verbosity=detailed
30-
- uses: sarisia/actions-status-discord@v1
31-
if: always()
32-
with:
33-
webhook: ${{ secrets.DISCORD_WEBHOOK }}
25+
run: nuget restore "Vehicle-Attachment.sln"
26+
- name: Build Release
27+
run: msbuild "Vehicle-Attachment.sln" /p:Configuration=Release /p:TargetFrameworkVersion="v4.5.2" /p:Verbosity=detailed /p:langversion=latest /maxcpucount

0 commit comments

Comments
 (0)