aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 3f52f31f8..29ac89549 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -20,7 +20,7 @@ jobs:
20 runs-on: ${{ matrix.os }} 20 runs-on: ${{ matrix.os }}
21 strategy: 21 strategy:
22 matrix: 22 matrix:
23 os: [ubuntu-latest, windows-latest, macos-latest] 23 os: [ubuntu-16.04, windows-latest, macos-latest]
24 24
25 steps: 25 steps:
26 - name: Checkout repository 26 - name: Checkout repository
@@ -42,25 +42,25 @@ jobs:
42 override: true 42 override: true
43 43
44 - name: Install Nodejs 44 - name: Install Nodejs
45 if: matrix.os == 'ubuntu-latest' 45 if: matrix.os == 'ubuntu-16.04'
46 uses: actions/setup-node@v1 46 uses: actions/setup-node@v1
47 with: 47 with:
48 node-version: 12.x 48 node-version: 12.x
49 49
50 - name: Dist 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 run: cargo xtask dist --client 0.2.$GITHUB_RUN_NUMBER 52 run: cargo xtask dist --client 0.2.$GITHUB_RUN_NUMBER
53 53
54 - name: Dist 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 run: cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly 56 run: cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly
57 57
58 - name: Dist 58 - name: Dist
59 if: matrix.os != 'ubuntu-latest' 59 if: matrix.os != 'ubuntu-16.04'
60 run: cargo xtask dist 60 run: cargo xtask dist
61 61
62 - name: Nightly analysis-stats check 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 run: ./dist/rust-analyzer-linux analysis-stats . 64 run: ./dist/rust-analyzer-linux analysis-stats .
65 65
66 - name: Upload artifacts 66 - name: Upload artifacts
@@ -71,7 +71,7 @@ jobs:
71 71
72 publish: 72 publish:
73 name: publish 73 name: publish
74 runs-on: ubuntu-latest 74 runs-on: ubuntu-16.04
75 needs: ['dist'] 75 needs: ['dist']
76 steps: 76 steps:
77 - name: Install Nodejs 77 - name: Install Nodejs
@@ -94,7 +94,7 @@ jobs:
94 path: dist 94 path: dist
95 - uses: actions/download-artifact@v1 95 - uses: actions/download-artifact@v1
96 with: 96 with:
97 name: dist-ubuntu-latest 97 name: dist-ubuntu-16.04
98 path: dist 98 path: dist
99 - uses: actions/download-artifact@v1 99 - uses: actions/download-artifact@v1
100 with: 100 with: