Skip to content

Commit 9afb372

Browse files
committed
.github/workflows/Generate-TestWorkflows.ps1: Added condition for installing the .NET 8 SDK and regenerated workflows
1 parent f98b067 commit 9afb372

37 files changed

Lines changed: 73 additions & 36 deletions

.github/workflows/Generate-TestWorkflows.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ jobs:
278278
uses: actions/setup-dotnet@v5
279279
with:
280280
dotnet-version: '$DotNet8SDKVersion'
281+
if: `${{ startswith(matrix.framework, 'net8.') }}
281282
282283
- name: Setup .NET 9 SDK
283284
uses: actions/setup-dotnet@v5

.github/workflows/Lucene-Net-Tests-AllProjects.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -103,6 +103,7 @@ jobs:
103103
uses: actions/setup-dotnet@v5
104104
with:
105105
dotnet-version: '8.0.x'
106+
if: ${{ startswith(matrix.framework, 'net8.') }}
106107

107108
- name: Setup .NET 9 SDK
108109
uses: actions/setup-dotnet@v5

.github/workflows/Lucene-Net-Tests-Analysis-Common.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -87,6 +87,7 @@ jobs:
8787
uses: actions/setup-dotnet@v5
8888
with:
8989
dotnet-version: '8.0.x'
90+
if: ${{ startswith(matrix.framework, 'net8.') }}
9091

9192
- name: Setup .NET 9 SDK
9293
uses: actions/setup-dotnet@v5

.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -84,6 +84,7 @@ jobs:
8484
uses: actions/setup-dotnet@v5
8585
with:
8686
dotnet-version: '8.0.x'
87+
if: ${{ startswith(matrix.framework, 'net8.') }}
8788

8889
- name: Setup .NET 9 SDK
8990
uses: actions/setup-dotnet@v5

.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -84,6 +84,7 @@ jobs:
8484
uses: actions/setup-dotnet@v5
8585
with:
8686
dotnet-version: '8.0.x'
87+
if: ${{ startswith(matrix.framework, 'net8.') }}
8788

8889
- name: Setup .NET 9 SDK
8990
uses: actions/setup-dotnet@v5

.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -87,6 +87,7 @@ jobs:
8787
uses: actions/setup-dotnet@v5
8888
with:
8989
dotnet-version: '8.0.x'
90+
if: ${{ startswith(matrix.framework, 'net8.') }}
9091

9192
- name: Setup .NET 9 SDK
9293
uses: actions/setup-dotnet@v5

.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -81,6 +81,7 @@ jobs:
8181
uses: actions/setup-dotnet@v5
8282
with:
8383
dotnet-version: '8.0.x'
84+
if: ${{ startswith(matrix.framework, 'net8.') }}
8485

8586
- name: Setup .NET 9 SDK
8687
uses: actions/setup-dotnet@v5

.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -85,6 +85,7 @@ jobs:
8585
uses: actions/setup-dotnet@v5
8686
with:
8787
dotnet-version: '8.0.x'
88+
if: ${{ startswith(matrix.framework, 'net8.') }}
8889

8990
- name: Setup .NET 9 SDK
9091
uses: actions/setup-dotnet@v5

.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -82,6 +82,7 @@ jobs:
8282
uses: actions/setup-dotnet@v5
8383
with:
8484
dotnet-version: '8.0.x'
85+
if: ${{ startswith(matrix.framework, 'net8.') }}
8586

8687
- name: Setup .NET 9 SDK
8788
uses: actions/setup-dotnet@v5

.github/workflows/Lucene-Net-Tests-Benchmark.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -94,6 +94,7 @@ jobs:
9494
uses: actions/setup-dotnet@v5
9595
with:
9696
dotnet-version: '8.0.x'
97+
if: ${{ startswith(matrix.framework, 'net8.') }}
9798

9899
- name: Setup .NET 9 SDK
99100
uses: actions/setup-dotnet@v5

0 commit comments

Comments
 (0)