Skip to content

Commit

Permalink
Update build.yml matrix dotnet8
Browse files Browse the repository at this point in the history
Signed-off-by: Henrique Graca <[email protected]>
  • Loading branch information
hjgraca authored Jan 17, 2024
1 parent 7308cc6 commit 19884ba
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ defaults:
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
dotnet: [ '6.0.405', '8.0.101' ]
steps:
- uses: actions/checkout@v3
- name: Setup .NET 6.0
- name: Setup .NET ${{ matrix.dotnet }}
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a
with:
dotnet-version: 6.0.405
dotnet-version: ${{ matrix.dotnet }}
- name: Create temporary global.json
run: echo '{"sdk":{"version": "${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json
- name: Install solution dependencies
run: dotnet restore
- name: Build
Expand Down

0 comments on commit 19884ba

Please sign in to comment.