File tree Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ name: continuous
1919on : [push]
2020
2121jobs :
22- ubuntu -latest :
23- name : ubuntu -latest
24- runs-on : ubuntu -latest
22+ windows -latest :
23+ name : windows -latest
24+ runs-on : windows -latest
2525 steps :
2626 - uses : actions/checkout@v4
2727 with :
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ name: pr
1919on : [pull_request]
2020
2121jobs :
22- ubuntu -latest :
23- name : ubuntu -latest
24- runs-on : ubuntu -latest
22+ windows -latest :
23+ name : windows -latest
24+ runs-on : windows -latest
2525 steps :
2626 - uses : actions/checkout@v4
2727 with :
Original file line number Diff line number Diff line change @@ -18,15 +18,13 @@ name: release
1818
1919on :
2020 push :
21- branches :
22- - main
2321 tags :
2422 - ' [0-9]+.[0-9]+.[0-9]+'
2523
2624jobs :
27- ubuntu -latest :
28- name : ubuntu -latest
29- runs-on : ubuntu -latest
25+ windows -latest :
26+ name : windows -latest
27+ runs-on : windows -latest
3028 steps :
3129 - uses : actions/checkout@v4
3230 with :
Original file line number Diff line number Diff line change 1313
1414[ GitHubActions (
1515 "continuous" ,
16- GitHubActionsImage . UbuntuLatest ,
16+ GitHubActionsImage . WindowsLatest ,
1717 On = [ GitHubActionsTrigger . Push ] ,
1818 FetchDepth = 0 ,
1919 InvokedTargets = [ nameof ( Test ) , nameof ( Pack ) ] ) ]
2020[ GitHubActions (
2121 "release" ,
22- GitHubActionsImage . UbuntuLatest ,
23- OnPushBranches = [ "main" ] ,
22+ GitHubActionsImage . WindowsLatest ,
2423 OnPushTags = [ "[0-9]+.[0-9]+.[0-9]+" ] ,
2524 FetchDepth = 0 ,
2625 ImportSecrets = [ nameof ( NuGetApiKey ) ] ,
2726 InvokedTargets = [ nameof ( Publish ) ] ) ]
2827[ GitHubActions (
2928 "pr" ,
30- GitHubActionsImage . UbuntuLatest ,
29+ GitHubActionsImage . WindowsLatest ,
3130 On = [ GitHubActionsTrigger . PullRequest ] ,
3231 FetchDepth = 0 ,
3332 InvokedTargets = [ nameof ( Test ) , nameof ( Pack ) ] ) ]
You can’t perform that action at this time.
0 commit comments