From 3ef06958229fd83d1d0b31ee81b921c253551c2f Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Sun, 13 Aug 2023 18:58:54 +0200 Subject: [PATCH] ci: try to use github setup-dotnet action --- .gitea/workflows/server.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 4a7d8c1..95239b7 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -4,11 +4,10 @@ on: [ push ] jobs: build-server: - container: mcr.microsoft.com/dotnet/sdk:latest steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - commands: - - dotnet restore --packages - - dotnet build --no-restore + - uses: actions/checkout@v3 + - name: Setup dotnet + uses: https://github.com/actions/setup-dotnet@v3 + with: + global-json-file: global.json + - run: dotnet build Server