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 577c9d8 commit 76bcd13
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-format-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
action: "fix"
workspace: "./src/CSharp/EasyMicroservices.UI.Core.sln"
workspace: "./src/CSharp/Cores/EasyMicroservices.UI.Core.sln"
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.UI.Core.sln -f net7.0
dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln -f net7.0
- name: Commit files
if: steps.format.outputs.has-changes == 'true'
uses: EndBug/[email protected]
Expand Down
4 changes: 2 additions & 2 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/EasyMicroservices.UI.Core.sln
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.UI.Core.sln --no-restore
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.UI.Core.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/EasyMicroservices.UI.Core.sln
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.UI.Core.sln --no-restore
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Core.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/Cores/EasyMicroservices.UI.Core.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/EasyMicroservices.UI.Core.sln
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.UI.Core.sln --no-restore
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-restore
- name: Test
run: dotnet test ./src/CSharp/EasyMicroservices.UI.Core.sln --no-build --verbosity normal
run: dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Core.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/EasyMicroservices.UI.Core.sln
run: dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.UI.Core.sln --no-restore
run: dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-restore
- name: Test
run: dotnet test ./src/CSharp/EasyMicroservices.UI.Core.sln --no-build --verbosity normal
run: dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Core.sln --no-build --verbosity normal
- name: Create the package
run: dotnet pack ./src/CSharp/EasyMicroservices.UI.Core.sln --output nupkgs
run: dotnet pack ./src/CSharp/Cores/EasyMicroservices.UI.Core.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 76bcd13

Please sign in to comment.