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
19
19
on : [push]
20
20
21
21
jobs :
22
- ubuntu -latest :
23
- name : ubuntu -latest
24
- runs-on : ubuntu -latest
22
+ windows -latest :
23
+ name : windows -latest
24
+ runs-on : windows -latest
25
25
steps :
26
26
- uses : actions/checkout@v4
27
27
with :
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ name: pr
19
19
on : [pull_request]
20
20
21
21
jobs :
22
- ubuntu -latest :
23
- name : ubuntu -latest
24
- runs-on : ubuntu -latest
22
+ windows -latest :
23
+ name : windows -latest
24
+ runs-on : windows -latest
25
25
steps :
26
26
- uses : actions/checkout@v4
27
27
with :
Original file line number Diff line number Diff line change @@ -18,15 +18,13 @@ name: release
18
18
19
19
on :
20
20
push :
21
- branches :
22
- - main
23
21
tags :
24
22
- ' [0-9]+.[0-9]+.[0-9]+'
25
23
26
24
jobs :
27
- ubuntu -latest :
28
- name : ubuntu -latest
29
- runs-on : ubuntu -latest
25
+ windows -latest :
26
+ name : windows -latest
27
+ runs-on : windows -latest
30
28
steps :
31
29
- uses : actions/checkout@v4
32
30
with :
Original file line number Diff line number Diff line change 13
13
14
14
[ GitHubActions (
15
15
"continuous" ,
16
- GitHubActionsImage . UbuntuLatest ,
16
+ GitHubActionsImage . WindowsLatest ,
17
17
On = [ GitHubActionsTrigger . Push ] ,
18
18
FetchDepth = 0 ,
19
19
InvokedTargets = [ nameof ( Test ) , nameof ( Pack ) ] ) ]
20
20
[ GitHubActions (
21
21
"release" ,
22
- GitHubActionsImage . UbuntuLatest ,
23
- OnPushBranches = [ "main" ] ,
22
+ GitHubActionsImage . WindowsLatest ,
24
23
OnPushTags = [ "[0-9]+.[0-9]+.[0-9]+" ] ,
25
24
FetchDepth = 0 ,
26
25
ImportSecrets = [ nameof ( NuGetApiKey ) ] ,
27
26
InvokedTargets = [ nameof ( Publish ) ] ) ]
28
27
[ GitHubActions (
29
28
"pr" ,
30
- GitHubActionsImage . UbuntuLatest ,
29
+ GitHubActionsImage . WindowsLatest ,
31
30
On = [ GitHubActionsTrigger . PullRequest ] ,
32
31
FetchDepth = 0 ,
33
32
InvokedTargets = [ nameof ( Test ) , nameof ( Pack ) ] ) ]
You can’t perform that action at this time.
0 commit comments