ci: try to use github setup-dotnet action
Some checks failed
Test if Server can be built / build-server (push) Failing after 37s
Some checks failed
Test if Server can be built / build-server (push) Failing after 37s
This commit is contained in:
parent
81001c71a0
commit
3ef0695822
1 changed files with 6 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue