Skip to content

Commit

Permalink
Specified the .sln file for dotnet restore
Browse files Browse the repository at this point in the history
  • Loading branch information
DrizzlyOwl committed Mar 23, 2023
1 parent 5b4031e commit d00c196
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ jobs:
run: dotnet tool restore

- name: Restore dependencies
run: dotnet restore
run: dotnet restore TramsDataApi.sln

- name: Run TramsDbContext database migrations
run: dotnet ef database update --connection ${{ env.CONNECTION_STRING }} --project TramsDataApi --context TramsDataApi.DatabaseModels.TramsDbContext
run: dotnet ef database update --connection ${{ env.CONNECTION_STRING }} --context TramsDataApi.DatabaseModels.TramsDbContext

- name: Run LegacyTramsDbContext database migrations
run: dotnet ef database update --connection ${{ env.CONNECTION_STRING }} --project TramsDataApi --context TramsDataApi.DatabaseModels.LegacyTramsDbContext
run: dotnet ef database update --connection ${{ env.CONNECTION_STRING }} --context TramsDataApi.DatabaseModels.LegacyTramsDbContext

- name: Build, Test and Analyze
env:
Expand Down

0 comments on commit d00c196

Please sign in to comment.