From 1e823ab4d36dc01a688475f6ad7130ba82864f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Tue, 24 Jun 2025 09:29:37 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d0a75c..e0c67d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,23 +22,29 @@ jobs: with: dotnet-version: ${{ env.DOTNET_VERSION }} - - name: Restore dependencies - run: dotnet restore + - name: Restore WebAPI + run: dotnet restore src/Bimix.API/Bimix.API.csproj - - name: Build solution - run: dotnet build --configuration Release --no-restore + - name: Restore WebUI + run: dotnet restore src/Bimix.UI.Web/Bimix.UI.Web.csproj + + - name: Build WebAPI + run: dotnet build src/Bimix.API/Bimix.API.csproj --configuration Release --no-restore + + - name: Build WebUI + run: dotnet build src/Bimix.UI.Web/Bimix.UI.Web.csproj --configuration Release --no-restore - name: Publish WebAPI run: | dotnet publish Bimix.API/Bimix.API.csproj \ - --configuration Release \ - --output ./publish/Bimix-WebAPI + --configuration Release \ + --output ./publish/Bimix-WebAPI - name: Publish Web (Blazor Server) run: | dotnet publish Bimix.UI.Web/Bimix.UI.Web.csproj \ - --configuration Release \ - --output ./publish/Bimix-Web + --configuration Release \ + --output ./publish/Bimix-Web - name: Upload publish artifact uses: actions/upload-artifact@v4