File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -71,16 +71,19 @@ jobs:
7171
7272 # setup .NET per test session
7373 - name : Setup .NET
74+ id : setup-dotnet
7475 uses : actions/setup-dotnet@v3
7576 with :
76- include-prerelease : ${{ matrix.include-prerelease }}
7777 global-json-file : ${{ matrix.global-json-file }}
7878 dotnet-version : ${{ matrix.dotnet-version }}
7979
8080 # remove global.json so that the env configuration takes precedence
8181 - name : Purge global.json
8282 run : rm global.json
8383
84+ - name : Create global.json
85+ run : dotnet new globaljson --sdk-version '${{ steps.setup-dotnet.outputs.dotnet-version }}' --roll-forward latestMinor
86+
8487 # let's make sure we're on the version we think we are.
8588 - name : Announce .NET version
8689 run : dotnet --info
You can’t perform that action at this time.
0 commit comments