ci: try to use github setup-dotnet action
Some checks failed
Test if Server can be built / build-server (push) Failing after 37s

This commit is contained in:
Timothy Schenk 2023-08-13 18:58:54 +02:00
parent 81001c71a0
commit 3ef0695822

View file

@ -4,11 +4,10 @@ on: [ push ]
jobs:
build-server:
container: mcr.microsoft.com/dotnet/sdk:latest
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
uses: https://github.com/actions/setup-dotnet@v3
with:
fetch-depth: 0
commands:
- dotnet restore --packages
- dotnet build --no-restore
global-json-file: global.json
- run: dotnet build Server