Skip to content

Commit

Permalink
Merge pull request #7 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
fix actions
  • Loading branch information
Ali-YousefiTelori authored Oct 18, 2023
2 parents 234cc79 + 612851e commit 5b8dbdd
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-format-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
action: "fix"
workspace: "./src/CSharp/EasyMicroservices.Logger.sln"
workspace: "./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln"
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.Logger.sln -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.Logger.sln -f net7.0
dotnet test ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln -f net7.0
- name: Commit files
if: steps.format.outputs.has-changes == 'true'
uses: EndBug/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
env:
NUGET_CERT_REVOCATION_MODE: offline
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.Logger.sln
run: dotnet restore ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.Logger.sln --no-restore
run: dotnet build ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net7.0
dotnet test ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net7.0
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
env:
NUGET_CERT_REVOCATION_MODE: offline
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.Logger.sln
run: dotnet restore ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.Logger.sln --no-restore
run: dotnet build ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net7.0
dotnet test ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net7.0
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
env:
NUGET_CERT_REVOCATION_MODE: offline
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.Logger.sln
run: dotnet restore ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.Logger.sln --no-restore
run: dotnet build ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net7.0
dotnet test ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-build --verbosity normal -f net7.0
8 changes: 4 additions & 4 deletions .github/workflows/nuget-push-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
6.0.x
7.0.x
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.Logger.sln
run: dotnet restore ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.Logger.sln --no-restore
run: dotnet build ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-restore
- name: Test
run: dotnet test ./src/CSharp/EasyMicroservices.Logger.sln --no-build --verbosity normal
run: dotnet test ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln --no-build --verbosity normal
- name: Create the package
run: dotnet pack ./src/CSharp/EasyMicroservices.Logger.sln --output nupkgs
run: dotnet pack ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.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 5b8dbdd

Please sign in to comment.