20
20
runs-on : ${{ matrix.os }}
21
21
strategy :
22
22
matrix :
23
- os : [ubuntu-latest , windows-latest, macos-latest]
23
+ os : [ubuntu-16.04 , windows-latest, macos-latest]
24
24
25
25
steps :
26
26
- name : Checkout repository
@@ -42,25 +42,25 @@ jobs:
42
42
override : true
43
43
44
44
- name : Install Nodejs
45
- if : matrix.os == 'ubuntu-latest '
45
+ if : matrix.os == 'ubuntu-16.04 '
46
46
uses : actions/setup-node@v1
47
47
with :
48
48
node-version : 12.x
49
49
50
50
- name : Dist
51
- if : matrix.os == 'ubuntu-latest ' && github.ref == 'refs/heads/release'
51
+ if : matrix.os == 'ubuntu-16.04 ' && github.ref == 'refs/heads/release'
52
52
run : cargo xtask dist --client 0.2.$GITHUB_RUN_NUMBER
53
53
54
54
- name : Dist
55
- if : matrix.os == 'ubuntu-latest ' && github.ref != 'refs/heads/release'
55
+ if : matrix.os == 'ubuntu-16.04 ' && github.ref != 'refs/heads/release'
56
56
run : cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly
57
57
58
58
- name : Dist
59
- if : matrix.os != 'ubuntu-latest '
59
+ if : matrix.os != 'ubuntu-16.04 '
60
60
run : cargo xtask dist
61
61
62
62
- name : Nightly analysis-stats check
63
- if : matrix.os == 'ubuntu-latest ' && github.ref != 'refs/heads/release'
63
+ if : matrix.os == 'ubuntu-16.04 ' && github.ref != 'refs/heads/release'
64
64
run : ./dist/rust-analyzer-linux analysis-stats .
65
65
66
66
- name : Upload artifacts
71
71
72
72
publish :
73
73
name : publish
74
- runs-on : ubuntu-latest
74
+ runs-on : ubuntu-16.04
75
75
needs : ['dist']
76
76
steps :
77
77
- name : Install Nodejs
94
94
path : dist
95
95
- uses : actions/download-artifact@v1
96
96
with :
97
- name : dist-ubuntu-latest
97
+ name : dist-ubuntu-16.04
98
98
path : dist
99
99
- uses : actions/download-artifact@v1
100
100
with :
0 commit comments