Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-YousefiTelori committed Nov 17, 2023
1 parent 76bcd13 commit 92d877b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
dotnet-version: |
7.0.x
- name: Restore dependencies
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln
- name: Build
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-restore
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.UI.Core.sln --no-build --verbosity normal -f net7.0
dotnet test ./src/CSharp/EasyMicroservices.UI.Cores.sln --no-build --verbosity normal -f net7.0
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
dotnet-version: |
7.0.x
- name: Restore dependencies
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln
- name: Build
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-restore
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-build --verbosity normal -f net7.0
dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-build --verbosity normal -f net7.0
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
dotnet-version: |
7.0.x
- name: Restore dependencies
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln
- name: Build
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-restore
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-restore
- name: Test
run: dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-build --verbosity normal
run: dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-build --verbosity normal
8 changes: 4 additions & 4 deletions .github/workflows/nuget-push-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
env:
DOTNET_INSTALL_DIR: /usr/share/dotnet
- name: Restore dependencies
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln
- name: Build
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-restore
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-restore
- name: Test
run: dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-build --verbosity normal
run: dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-build --verbosity normal
- name: Create the package
run: dotnet pack ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --output nupkgs
run: dotnet pack ./src/CSharp/Cores/EasyMicroservices.UI.Cores.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 92d877b

Please sign in to comment.