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: jobs:
build-server: build-server:
container: mcr.microsoft.com/dotnet/sdk:latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: - name: Setup dotnet
fetch-depth: 0 uses: https://github.com/actions/setup-dotnet@v3
commands: with:
- dotnet restore --packages global-json-file: global.json
- dotnet build --no-restore - run: dotnet build Server