diff --git a/.github/workflows/dotnet-windows.yml b/.github/workflows/dotnet-windows.yml index f3689e4..2504fac 100644 --- a/.github/workflows/dotnet-windows.yml +++ b/.github/workflows/dotnet-windows.yml @@ -17,8 +17,14 @@ jobs: dotnet-version: | 7.0.x - name: Restore dependencies - run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln + run: | + dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln + dotnet restore ./src/CSharp/MauiComponents/EasyMicroservices.UI.MauiComponents.sln - name: Build - run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-restore + run: | + dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-restore + dotnet build ./src/CSharp/MauiComponents/EasyMicroservices.UI.MauiComponents.sln --no-restore - name: Test - run: dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-build --verbosity normal + run: | + dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-build --verbosity normal + dotnet test ./src/CSharp/MauiComponents/EasyMicroservices.UI.MauiComponents.sln --no-build --verbosity normal diff --git a/.github/workflows/nuget-push-public.yml b/.github/workflows/nuget-push-public.yml index 1396f1e..b790fc1 100644 --- a/.github/workflows/nuget-push-public.yml +++ b/.github/workflows/nuget-push-public.yml @@ -14,12 +14,20 @@ jobs: env: DOTNET_INSTALL_DIR: /usr/share/dotnet - name: Restore dependencies - run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln + run: | + dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln + dotnet restore ./src/CSharp/MauiComponents/EasyMicroservices.UI.MauiComponents.sln - name: Build - run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-restore + run: | + dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-restore + dotnet build ./src/CSharp/MauiComponents/EasyMicroservices.UI.MauiComponents.sln --no-restore - name: Test - run: dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-build --verbosity normal + run: | + dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-build --verbosity normal + dotnet test ./src/CSharp/MauiComponents/EasyMicroservices.UI.MauiComponents.sln --no-build --verbosity normal - name: Create the package - run: dotnet pack ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --output nupkgs + run: | + dotnet pack ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --output nupkgs + dotnet pack ./src/CSharp/MauiComponents/EasyMicroservices.UI.MauiComponents.sln --output nupkgs - name: Publish the package to NuGet.org run: dotnet nuget push nupkgs\*.nupkg -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate \ No newline at end of file