From d00c1969c1a78ff8d9a5be733b74ea1f583d977e Mon Sep 17 00:00:00 2001 From: Ash Davies <3853061+DrizzlyOwl@users.noreply.github.com> Date: Thu, 16 Mar 2023 10:53:27 +0000 Subject: [PATCH] Specified the .sln file for dotnet restore --- .github/workflows/continuous-integration-dotnet.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration-dotnet.yml b/.github/workflows/continuous-integration-dotnet.yml index b072463f2..183d55638 100644 --- a/.github/workflows/continuous-integration-dotnet.yml +++ b/.github/workflows/continuous-integration-dotnet.yml @@ -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: