Skip to content

Commit 3060b63

Browse files
committed
fix readme
1 parent a1ddc71 commit 3060b63

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/open-mediator-nuget-package.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ concurrency:
55
group: production
66
cancel-in-progress: false
77

8-
on:
9-
push:
10-
branches:
11-
- 'main'
8+
on:
9+
push:
10+
branches:
11+
- 'main'
12+
paths:
13+
- 'src/**'
14+
- 'test/**'
1215

1316
# Allows you to run this workflow manually from the Actions tab on GitHub.
1417
workflow_dispatch:
@@ -75,7 +78,7 @@ jobs:
7578

7679
publish-github-release:
7780
name: Publish GitHub release
78-
if: ${{ false }} # step disabled with false
81+
if: ${{ false }} # step disabled
7982
runs-on: ubuntu-latest
8083
needs: [build, tests]
8184
steps:
@@ -84,9 +87,7 @@ jobs:
8487
name: solution-build
8588
path: .
8689
- name: Create Release
87-
# if: ${{ false }} # step disabled with false
8890
uses: softprops/action-gh-release@v1
89-
# if: startsWith(github.ref, 'refs/tags/')
9091
with:
9192
tag_name: release
9293
files: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public record CreateUserCommandHandler(ILogger<CreateUserCommandHandler> _logger
5454
### Middleware Configuration
5555
Also you can configure and execute custom middlewares before or after the command.
5656

57-
1. Define your middleware by implementing the `IMiddleware` interface:
57+
1. Define your middleware by implementing the `IMediatorMiddleware` interface:
5858

5959
```csharp
6060
public class CustomMediatorMiddleware() : IMediatorMiddleware

0 commit comments

Comments
 (0)