You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2025/09/07 15:23:08 UTC

(lucenenet) 09/21: .github/workflows/Generate-TestWorkflows.ps1: Added missing TestFrameworks=true parameter on dotnet restore command. This is required to enable all target frameworks for tests.

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch ci/cache-nuget-packages
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 364506a1d37a150ba4037dade5eeb7a07656268c
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sun Sep 7 18:01:56 2025 +0700

    .github/workflows/Generate-TestWorkflows.ps1: Added missing TestFrameworks=true parameter on dotnet restore command. This is required to enable all target frameworks for tests.
---
 .github/workflows/Generate-TestWorkflows.ps1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/Generate-TestWorkflows.ps1 b/.github/workflows/Generate-TestWorkflows.ps1
index 94a2a2ba3..b7a367710 100644
--- a/.github/workflows/Generate-TestWorkflows.ps1
+++ b/.github/workflows/Generate-TestWorkflows.ps1
@@ -296,7 +296,7 @@ jobs:
           dotnet-version: '$DotNet9SDKVersion'
 
       - name: Restore dependencies
-        run: dotnet restore --no-cache --force
+        run: dotnet restore /p:TestFrameworks=true
 
       - name: Setup Environment Variables
         run: |