mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 22:24:14 +00:00
Merge pull request #4427 from matklad/old
Use older ubuntu for releases
This commit is contained in:
commit
93eae6549e
1 changed files with 8 additions and 8 deletions
16
.github/workflows/release.yaml
vendored
16
.github/workflows/release.yaml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-16.04, windows-latest, macos-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -42,25 +42,25 @@ jobs:
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
- name: Install Nodejs
|
- name: Install Nodejs
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-16.04'
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 12.x
|
node-version: 12.x
|
||||||
|
|
||||||
- name: Dist
|
- name: Dist
|
||||||
if: matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/release'
|
if: matrix.os == 'ubuntu-16.04' && github.ref == 'refs/heads/release'
|
||||||
run: cargo xtask dist --client 0.2.$GITHUB_RUN_NUMBER
|
run: cargo xtask dist --client 0.2.$GITHUB_RUN_NUMBER
|
||||||
|
|
||||||
- name: Dist
|
- name: Dist
|
||||||
if: matrix.os == 'ubuntu-latest' && github.ref != 'refs/heads/release'
|
if: matrix.os == 'ubuntu-16.04' && github.ref != 'refs/heads/release'
|
||||||
run: cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly
|
run: cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly
|
||||||
|
|
||||||
- name: Dist
|
- name: Dist
|
||||||
if: matrix.os != 'ubuntu-latest'
|
if: matrix.os != 'ubuntu-16.04'
|
||||||
run: cargo xtask dist
|
run: cargo xtask dist
|
||||||
|
|
||||||
- name: Nightly analysis-stats check
|
- name: Nightly analysis-stats check
|
||||||
if: matrix.os == 'ubuntu-latest' && github.ref != 'refs/heads/release'
|
if: matrix.os == 'ubuntu-16.04' && github.ref != 'refs/heads/release'
|
||||||
run: ./dist/rust-analyzer-linux analysis-stats .
|
run: ./dist/rust-analyzer-linux analysis-stats .
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
|
@ -71,7 +71,7 @@ jobs:
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
name: publish
|
name: publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-16.04
|
||||||
needs: ['dist']
|
needs: ['dist']
|
||||||
steps:
|
steps:
|
||||||
- name: Install Nodejs
|
- name: Install Nodejs
|
||||||
|
@ -94,7 +94,7 @@ jobs:
|
||||||
path: dist
|
path: dist
|
||||||
- uses: actions/download-artifact@v1
|
- uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: dist-ubuntu-latest
|
name: dist-ubuntu-16.04
|
||||||
path: dist
|
path: dist
|
||||||
- uses: actions/download-artifact@v1
|
- uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue