File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 3535 # - "ProjectGraph" # this is disable because it just adds too much time to the build
3636 # these entries will mesh with the above combinations
3737 include :
38- # just use what's in the repo
39- - global-json-file : " global.json"
40- dotnet-version : " "
41- include-prerelease : false
42- label : " repo global.json"
43- build_net9 : false
44- test_tfm : net8.0
4538 # latest 8.0
4639 - global-json-file : " global.json"
4740 dotnet-version : " 8.0.x"
@@ -71,16 +64,18 @@ jobs:
7164
7265 # setup .NET per test session
7366 - name : Setup .NET
67+ id : setup-dotnet
7468 uses : actions/setup-dotnet@v3
7569 with :
76- include-prerelease : ${{ matrix.include-prerelease }}
77- global-json-file : ${{ matrix.global-json-file }}
7870 dotnet-version : ${{ matrix.dotnet-version }}
7971
8072 # remove global.json so that the env configuration takes precedence
8173 - name : Purge global.json
8274 run : rm global.json
8375
76+ - name : Create global.json
77+ run : dotnet new globaljson --sdk-version '${{ steps.setup-dotnet.outputs.dotnet-version }}' --roll-forward latestMinor
78+
8479 # let's make sure we're on the version we think we are.
8580 - name : Announce .NET version
8681 run : dotnet --info
You can’t perform that action at this time.
0 commit comments