Skip to content

Commit

Permalink
Try to fix dotnet 6 CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
num0005 committed Oct 16, 2021
1 parent 99c8995 commit 06aa071
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/dotnet-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
build:
runs-on: windows-latest
strategy:
matrix:
dotnet: ['5.0.x', '6.0.x']
matrix: # https://stackoverflow.com/a/68940067/16608030 hopefully this still works
dotnet: [ {version: '5.0.x', path: net5.0-windows}, {version: '6.0.x', path: net6.0-windows} ]
env:
DOTNET_CLI_TELEMETRY_OPTOUT : true
steps:
Expand All @@ -23,7 +23,8 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}
dotnet-version: ${{ matrix.dotnet.version }}
include-prerelease: true
- name: Install dependencies
run: dotnet restore
- name: Install nbgv
Expand All @@ -38,6 +39,6 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: launcher
path: Launcher\bin\Release\net5.0-windows\win-x64\publish\
path: Launcher\bin\Release\${{ matrix.dotnet.path}}\win-x64\publish\


0 comments on commit 06aa071

Please sign in to comment.