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