Skip to content

Commit c2b3f66

Browse files
Update EF Core migration check command in workflow (#1031)
## Description Describe your changes here. Fixes #Issue_Number (if available) ### Ensure that your pull request has followed all the steps below: - [ ] Code compilation - [ ] Created tests which fail without the change (if possible) - [ ] All tests passing - [ ] Extended the README / documentation, if necessary
1 parent 7fe61d5 commit c2b3f66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/PR-Build-And-Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: dotnet build --configuration Release --no-restore /p:AccessToNugetFeed=false
3939

4040
- name: Check for pending EF Core model changes
41-
run: dotnet ef migrations has-pending-model-changes --project EssentialCSharp.Web --configuration Release --no-build
41+
run: dotnet tool run dotnet-ef -- migrations has-pending-model-changes --project EssentialCSharp.Web --configuration Release --no-build
4242
env:
4343
ASPNETCORE_ENVIRONMENT: Development
4444

0 commit comments

Comments
 (0)