diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2974dd0..02545eb 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -49,7 +49,10 @@ jobs: run: dotnet build GerbilManager.slnx --no-restore -c Release - name: dotnet-ef Tool installieren - run: dotnet tool install --global dotnet-ef --version 10.0.* + # 'tool update' ist idempotent (installiert wenn fehlend, sonst aktualisiert) — + # auf dem SELF-HOSTED Runner persistieren --global Tools, daher schlug 'tool install' + # ab dem 2. Lauf mit 'already installed' fehl und kippte den Backend-Job. + run: dotnet tool update --global dotnet-ef --version 10.0.* - name: DB-3 EF Migrations Drift-Check # Fails CI if the EF model diverges from the snapshot (i.e. a code change touched