Skip to content

Commit

Permalink
Merge pull request #14 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
update github actions
  • Loading branch information
Ali-YousefiTelori authored Dec 22, 2023
2 parents cd1c877 + a3707c9 commit b5cbcc5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/dotnet-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 12 additions & 4 deletions .github/workflows/nuget-push-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b5cbcc5

Please sign in to comment.