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:
|
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
|
||||||
|
|
Loading…
Reference in a new issue