From 81001c71a0413f3d9d98617c1bd3f2c2cc99b6a7 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Sun, 13 Aug 2023 18:52:46 +0200 Subject: [PATCH] ci: another attempt for ci job --- .gitea/workflows/server.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 027723a..4a7d8c1 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -1,15 +1,14 @@ name: Test if Server can be built run-name: ${{ gitea.actor }} is building the Server application -on: [push] -runs-on: [ubuntu-22.04] +on: [ push ] jobs: build-server: - runs-on: mcr.microsoft.com/dotnet/sdk:latest + container: mcr.microsoft.com/dotnet/sdk:latest steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 + - uses: actions/checkout@v3 + with: + fetch-depth: 0 commands: - dotnet restore --packages - dotnet build --no-restore