Skip to content

Commit

Permalink
.github/workflows/Generate-TestWorkflows.ps1: Print out .NET runtime …
Browse files Browse the repository at this point in the history
…info and skip installation of .NET 6 SDK for .NET 5.
  • Loading branch information
NightOwl888 committed Nov 3, 2022
1 parent 5ea9dba commit da93041
Show file tree
Hide file tree
Showing 36 changed files with 144 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/Generate-TestWorkflows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '$DotNet6SDKVersion'
if: `${{ startswith(matrix.framework, 'net6.') }}
- name: Display .NET Runtime Info
run: dotnet --info
- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-AllProjects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Analysis-Common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Classification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-CodeAnalysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Codecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Expressions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Facet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Grouping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Highlighter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-ICU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Join.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Memory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-QueryParser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Replicator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Spatial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-Suggest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-TestFramework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-_A-D.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-_E-I.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-_I-J.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-_J-S.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Lucene-Net-Tests-_T-Z.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
if: ${{ startswith(matrix.framework, 'net6.') }}

- name: Display .NET Runtime Info
run: dotnet --info

- name: Setup Environment Variables
run: |
Expand Down

0 comments on commit da93041

Please sign in to comment.