File tree 2 files changed +6
-53
lines changed 2 files changed +6
-53
lines changed Original file line number Diff line number Diff line change
1
+ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
1
2
name : Continuous Integration
2
3
on : pull_request
3
4
@@ -16,20 +17,10 @@ jobs:
16
17
build :
17
18
name : Build
18
19
if : " !contains(github.event.head_commit.message, 'skip-ci')"
19
- strategy :
20
- matrix :
21
- kind : ['linux', 'windows', 'macOS']
22
- include :
23
- - kind : linux
24
- os : ubuntu-latest
25
- - kind : windows
26
- os : windows-latest
27
- - kind : macOS
28
- os : macos-latest
29
- runs-on : ${{ matrix.os }}
20
+ runs-on : ubuntu-latest
30
21
steps :
31
22
- name : Checkout
32
- uses : actions/checkout@v2
23
+ uses : actions/checkout@v4
33
24
with :
34
25
fetch-depth : 0
35
26
38
29
shell : bash
39
30
40
31
- name : Setup .NET SDK
41
- uses : actions/setup-dotnet@v1
32
+ uses : actions/setup-dotnet@v3
42
33
43
34
- name : Build
44
35
shell : bash
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
18
- # ##################################################
19
- # BUILD
20
- # ##################################################
21
-
22
- build :
23
- name : Build
24
- if : " !contains(github.event.head_commit.message, 'skip-ci')"
25
- strategy :
26
- matrix :
27
- kind : ['linux', 'windows', 'macOS']
28
- include :
29
- - kind : linux
30
- os : ubuntu-latest
31
- - kind : windows
32
- os : windows-latest
33
- - kind : macOS
34
- os : macos-latest
35
- runs-on : ${{ matrix.os }}
36
- steps :
37
- - name : Checkout
38
- uses : actions/checkout@v2
39
- with :
40
- fetch-depth : 0
41
-
42
- - name : ' Get Git tags'
43
- run : git fetch --tags
44
- shell : bash
45
-
46
- - name : Setup .NET SDK
47
- uses : actions/setup-dotnet@v1
48
-
49
- - name : Build
50
- shell : bash
51
- run : |
52
- dotnet tool restore
53
- dotnet cake
54
-
55
18
# ##################################################
56
19
# PUBLISH
57
20
# ##################################################
58
21
59
22
publish :
60
23
name : Publish
61
- needs : [build]
62
24
if : " !contains(github.event.head_commit.message, 'skip-ci')"
63
25
runs-on : ubuntu-latest
64
26
steps :
65
27
- name : Checkout
66
- uses : actions/checkout@v2
28
+ uses : actions/checkout@v4
67
29
with :
68
30
fetch-depth : 0
69
31
72
34
shell : bash
73
35
74
36
- name : Setup .NET SDK
75
- uses : actions/setup-dotnet@v1
37
+ uses : actions/setup-dotnet@v3
76
38
77
39
- name : Publish
78
40
shell : bash
You can’t perform that action at this time.
0 commit comments