File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 17
17
build :
18
18
19
19
runs-on : macos-latest
20
-
20
+ name : .NET ${{ matrix.dotnet }}
21
+ strategy :
22
+ matrix :
23
+ dotnet :
24
+ - 8.0.x # EOL: 2026-11-10
25
+ - 7.0.x # EOL: 2024-05-14
26
+ - 6.0.x # EOL: 2024-11-12
27
+ # version support doc: https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
21
28
steps :
22
29
- uses : actions/checkout@v3
23
30
with :
@@ -30,11 +37,13 @@ jobs:
30
37
- uses : actions/checkout@v3
31
38
with :
32
39
path : getargv.cs
33
- # - name: Setup .NET
34
- # uses: actions/setup-dotnet@v3
35
- # with:
36
- # dotnet-version: 7.0.x
37
- # version support doc: https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
40
+ - name : Setup .NET
41
+ uses : actions/setup-dotnet@v4
42
+ with :
43
+ dotnet-version : ${{ matrix.dotnet }}
44
+ - name : Create temporary global.json
45
+ run : echo '{"sdk":{"version": "${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json
46
+ working-directory : getargv.cs
38
47
- name : Restore dependencies
39
48
run : dotnet restore
40
49
working-directory : getargv.cs
You can’t perform that action at this time.
0 commit comments