File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 878878 " self-hosted" ,
879879 " ubuntu-16.04" ,
880880 " ubuntu-18.04" ,
881+ " ubuntu-20.04" ,
881882 " ubuntu-latest" ,
882883 " windows-latest" ,
883884 " windows-2019"
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " Test runs-on" ,
3+ "on" : [
4+ " push"
5+ ],
6+ "jobs" : {
7+ "ubuntu" : {
8+ "runs-on" : " ubuntu-latest" ,
9+ "steps" : [
10+ {
11+ "run" : " echo 'Hello from ${{ runner.os }}'"
12+ }
13+ ]
14+ },
15+ "ubuntu-20" : {
16+ "runs-on" : " ubuntu-20.04" ,
17+ "steps" : [
18+ {
19+ "run" : " echo 'Hello from ${{ runner.os }}'"
20+ }
21+ ]
22+ },
23+ "ubuntu-18" : {
24+ "runs-on" : " ubuntu-18.04" ,
25+ "steps" : [
26+ {
27+ "run" : " echo 'Hello from ${{ runner.os }}'"
28+ }
29+ ]
30+ },
31+ "ubuntu-16" : {
32+ "runs-on" : " ubuntu-16.04" ,
33+ "steps" : [
34+ {
35+ "run" : " echo 'Hello from ${{ runner.os }}'"
36+ }
37+ ]
38+ },
39+ "macos" : {
40+ "runs-on" : " macos-latest" ,
41+ "steps" : [
42+ {
43+ "run" : " echo 'Hello from ${{ runner.os }}'"
44+ }
45+ ]
46+ },
47+ "macos-catalina" : {
48+ "runs-on" : " macos-10.15" ,
49+ "steps" : [
50+ {
51+ "run" : " echo 'Hello from ${{ runner.os }}'"
52+ }
53+ ]
54+ },
55+ "windows" : {
56+ "runs-on" : " windows-latest" ,
57+ "steps" : [
58+ {
59+ "run" : " echo 'Hello from ${{ runner.os }}'"
60+ }
61+ ]
62+ },
63+ "windows-2019" : {
64+ "runs-on" : " windows-2019" ,
65+ "steps" : [
66+ {
67+ "run" : " echo 'Hello from ${{ runner.os }}'"
68+ }
69+ ]
70+ },
71+ "matrix" : {
72+ "runs-on" : " ${{ matrix.os }}" ,
73+ "strategy" : {
74+ "matrix" : {
75+ "os" : [" ubuntu-20.04" , " ubuntu-18.04" , " ubuntu-16.04" ]
76+ }
77+ },
78+ "steps" : [
79+ {
80+ "run" : " echo 'Hello from ${{ runner.os }}'"
81+ }
82+ ]
83+ }
84+ }
85+ }
You can’t perform that action at this time.
0 commit comments