From d624934e854286ea34bdf4264b175acf77784463 Mon Sep 17 00:00:00 2001 From: "Zi Chen (from Dev Box)" Date: Fri, 9 Feb 2024 10:32:58 -0800 Subject: [PATCH] Revert yml changes --- .github/workflows/pr-validation.yml | 37 ++++++++++++++++------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 94be3fb..ba25042 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -9,24 +9,27 @@ jobs: fail-fast: false matrix: os: [windows-latest, ubuntu-latest, macos-latest] - dotnetVersion: ['3.1.x', '5.x', '6.x', '7.x', '8.x'] - include: - - dotnetVersion: '3.1.x' - targetFramework: 'netcoreapp3.1' - - dotnetVersion: '5.x' - targetFramework: 'net5.0' - - dotnetVersion: '6.x' - targetFramework: 'net6.0' - - dotnetVersion: '7.x' - targetFramework: 'net7.0' - - dotnetVersion: '8.x' - targetFramework: 'net8.0' steps: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: ${{ matrix.dotnetVersion }} - - 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 + dotnet-version: '3.1.x' + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '5.x' + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '6.x' + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '7.x' + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.x' + - run: dotnet build DacFx.sln + - run: dotnet pack DacFx.sln + - run: dotnet test DacFx.sln -f netcoreapp3.1 + - run: dotnet test DacFx.sln -f net5.0 + - run: dotnet test DacFx.sln -f net6.0 + - run: dotnet test DacFx.sln -f net7.0 + - run: dotnet test DacFx.sln -f net8.0 \ No newline at end of file