File tree Expand file tree Collapse file tree 3 files changed +36
-65
lines changed Expand file tree Collapse file tree 3 files changed +36
-65
lines changed Original file line number Diff line number Diff line change @@ -19,45 +19,45 @@ jobs:
19
19
isARM :
20
20
- ${{ contains(github.event.pull_request.labels.*.name, 'arch:arm32') || contains(github.event.pull_request.labels.*.name, 'arch:arm64') }}
21
21
options :
22
- # - os: ubuntu-latest
23
- # framework: net7.0
24
- # sdk: 7.0.x
25
- # sdk-preview: true
26
- # runtime: -x64
27
- # codecov: false
28
- # - os: macos-13 # macos-latest runs on arm64 runners where libgdiplus is unavailable
29
- # framework: net7.0
30
- # sdk: 7.0.x
31
- # sdk-preview: true
32
- # runtime: -x64
33
- # codecov: false
34
- # - os: windows-latest
35
- # framework: net7.0
36
- # sdk: 7.0.x
37
- # sdk-preview: true
38
- # runtime: -x64
39
- # codecov: false
40
- # - os: buildjet-4vcpu-ubuntu-2204-arm
41
- # framework: net7.0
42
- # sdk: 7.0.x
43
- # sdk-preview: true
44
- # runtime: -x64
45
- # codecov: false
46
22
- os : ubuntu-latest
23
+ framework : net7.0
24
+ sdk : 7.0.x
25
+ sdk-preview : true
26
+ runtime : -x64
27
+ codecov : false
28
+ - os : macos-13 # macos-latest runs on arm64 runners where libgdiplus is unavailable
29
+ framework : net7.0
30
+ sdk : 7.0.x
31
+ sdk-preview : true
32
+ runtime : -x64
33
+ codecov : false
34
+ - os : windows-latest
35
+ framework : net7.0
36
+ sdk : 7.0.x
37
+ sdk-preview : true
38
+ runtime : -x64
39
+ codecov : false
40
+ - os : buildjet-4vcpu-ubuntu-2204-arm
41
+ framework : net7.0
42
+ sdk : 7.0.x
43
+ sdk-preview : true
44
+ runtime : -x64
45
+ codecov : false
46
+ - os : ubuntu-latest
47
+ framework : net6.0
48
+ sdk : 6.0.x
49
+ runtime : -x64
50
+ codecov : false
51
+ - os : macos-13 # macos-latest runs on arm64 runners where libgdiplus is unavailable
52
+ framework : net6.0
53
+ sdk : 6.0.x
54
+ runtime : -x64
55
+ codecov : false
56
+ - os : windows-latest
47
57
framework : net6.0
48
58
sdk : 6.0.x
49
59
runtime : -x64
50
60
codecov : false
51
- # - os: macos-13 # macos-latest runs on arm64 runners where libgdiplus is unavailable
52
- # framework: net6.0
53
- # sdk: 6.0.x
54
- # runtime: -x64
55
- # codecov: false
56
- # - os: windows-latest
57
- # framework: net6.0
58
- # sdk: 6.0.x
59
- # runtime: -x64
60
- # codecov: false
61
61
exclude :
62
62
- isARM : false
63
63
options :
@@ -108,28 +108,13 @@ jobs:
108
108
restore-keys : ${{ runner.os }}-nuget-
109
109
110
110
- name : DotNet Setup
111
- if : ${{ matrix.options.sdk-preview != true }}
112
111
uses : actions/setup-dotnet@v4
113
112
with :
114
113
dotnet-version : |
115
114
8.0.x
116
115
7.0.x
117
116
6.0.x
118
117
119
- - name : DotNet Setup Preview
120
- if : ${{ matrix.options.sdk-preview == true }}
121
- uses : actions/setup-dotnet@v4
122
- with :
123
- dotnet-version : |
124
- 7.0.x
125
-
126
- # - name: Ensure DotNet Path
127
- # if: ${{ matrix.options.os != 'windows-latest' }}
128
- # run: echo "/usr/share/dotnet" >> $GITHUB_PATH
129
-
130
- # - name: Confirm DotNet Version
131
- # run: dotnet --version
132
-
133
118
- name : DotNet Build
134
119
if : ${{ matrix.options.sdk-preview != true }}
135
120
shell : pwsh
Original file line number Diff line number Diff line change @@ -61,14 +61,10 @@ jobs:
61
61
uses : actions/setup-dotnet@v4
62
62
with :
63
63
dotnet-version : |
64
+ 8.0.x
65
+ 7.0.x
64
66
6.0.x
65
67
66
- - name : Ensure DotNet Path
67
- run : echo "/usr/share/dotnet" >> $GITHUB_PATH
68
-
69
- - name : Confirm DotNet Version
70
- run : dotnet --version # This will now find dotnet in /usr/share/dotnet
71
-
72
68
- name : DotNet Build
73
69
shell : pwsh
74
70
run : ./ci-build.ps1 "${{matrix.options.framework}}"
Original file line number Diff line number Diff line change 3
3
[string ]$targetFramework
4
4
)
5
5
6
- Write-Output " PATH"
7
- Write-Output $env: PATH
8
-
9
- Write-Output " DOTNET_LIST"
10
- dotnet -- list- sdks
11
-
12
- # Confirm dotnet version.
13
- Write-Output " DOTNET_VERSION"
14
- dotnet -- version
15
-
16
6
dotnet clean - c Release
17
7
18
8
$repositoryUrl = " https://github.com/$env: GITHUB_REPOSITORY "
You can’t perform that action at this time.
0 commit comments