From 13b20903d75fb8b1ba32bac7083c7c4c57368a5e Mon Sep 17 00:00:00 2001 From: egamorf76 Date: Sun, 27 Apr 2025 22:46:19 +0200 Subject: [PATCH] correct for both workflow --- .gitea/workflows/build-pr.yaml | 2 +- .gitea/workflows/deploy.yaml | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build-pr.yaml b/.gitea/workflows/build-pr.yaml index c26acc3..c0f584c 100644 --- a/.gitea/workflows/build-pr.yaml +++ b/.gitea/workflows/build-pr.yaml @@ -19,7 +19,7 @@ jobs: dotnet-version: '9.0.x' - name: Restore dependencies - run: dotnet restore + run: dotnet restore ./src/GameIdeas/GameIdeas.sln - name: Build API run: dotnet build ./src/GameIdeas/Server/GameIdeas.WebAPI/GameIdeas.WebAPI.csproj --configuration Release diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 1fa3acd..eb1f343 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -18,11 +18,8 @@ jobs: with: dotnet-version: '9.0.x' - - name: Restore API dependencies - run: dotnet restore ./src/GameIdeas/Server/GameIdeas.WebAPI/GameIdeas.WebAPI.csproj - - - name: Restore Blazor App dependencies - run: dotnet restore ./src/GameIdeas/Client/GameIdeas.BlazorApp/GameIdeas.BlazorApp.csproj + - name: Restore dependencies + run: dotnet restore ./src/GameIdeas/GameIdeas.sln - name: Build API run: dotnet build ./src/GameIdeas/Server/GameIdeas.WebAPI/GameIdeas.WebAPI.csproj --configuration Release