From 1d966b8e59f897a312180badfeddfd3a5a9a0ebd Mon Sep 17 00:00:00 2001 From: "Zi Chen (from Dev Box)" Date: Fri, 9 Feb 2024 10:31:31 -0800 Subject: [PATCH] Add target framework to dotnet restore --- .github/workflows/pr-validation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 23c55e8..94be3fb 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ matrix.dotnetVersion }} - - run: dotnet restore DacFx.sln + - run: dotnet restore DacFx.sln -f ${{ matrix.targetFramework }} - run: dotnet build DacFx.sln -f ${{ matrix.targetFramework }} - run: dotnet pack DacFx.sln -f ${{ matrix.targetFramework }} - run: dotnet test DacFx.sln -f ${{ matrix.targetFramework }} \ No newline at end of file