Skip to content

Commit

Permalink
Revert yml changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen committed Feb 9, 2024
1 parent 1d966b8 commit d624934
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
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

0 comments on commit d624934

Please sign in to comment.