mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Don't be overly generic
This commit is contained in:
parent
8670812209
commit
7d4a62275d
2 changed files with 4 additions and 6 deletions
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
|
@ -20,7 +20,6 @@ jobs:
|
||||||
RUN_SLOW_TESTS: 1
|
RUN_SLOW_TESTS: 1
|
||||||
RUSTUP_MAX_RETRIES: 10
|
RUSTUP_MAX_RETRIES: 10
|
||||||
CARGO_NET_RETRY: 10
|
CARGO_NET_RETRY: 10
|
||||||
PROFILE: debug
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -76,7 +75,7 @@ jobs:
|
||||||
|
|
||||||
- name: Prepare cache 2
|
- name: Prepare cache 2
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: Remove-Item ./target/${{ env.PROFILE }}/xtask.exe
|
run: Remove-Item ./target/debug/xtask.exe
|
||||||
|
|
||||||
type-script:
|
type-script:
|
||||||
name: TypeScript
|
name: TypeScript
|
||||||
|
|
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
|
@ -18,7 +18,6 @@ jobs:
|
||||||
RUN_SLOW_TESTS: 1
|
RUN_SLOW_TESTS: 1
|
||||||
RUSTUP_MAX_RETRIES: 10
|
RUSTUP_MAX_RETRIES: 10
|
||||||
CARGO_NET_RETRY: 10
|
CARGO_NET_RETRY: 10
|
||||||
PROFILE: release
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -69,18 +68,18 @@ jobs:
|
||||||
|
|
||||||
- name: Prepare cache 2
|
- name: Prepare cache 2
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: Remove-Item ./target/${{ env.PROFILE }}/xtask.exe
|
run: Remove-Item ./target/release/xtask.exe
|
||||||
|
|
||||||
- name: Creat distribution dir
|
- name: Creat distribution dir
|
||||||
run: mkdir ./dist
|
run: mkdir ./dist
|
||||||
|
|
||||||
- name: Copy binaries (non-win)
|
- name: Copy binaries (non-win)
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
run: cp ./target/${{ env.PROFILE }}/ra_lsp_server ./dist
|
run: cp ./target/release/ra_lsp_server ./dist
|
||||||
|
|
||||||
- name: Copy binaries (win)
|
- name: Copy binaries (win)
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: copy ./target/${{ env.PROFILE }}/ra_lsp_server.* ./dist
|
run: copy ./target/release/ra_lsp_server.* ./dist
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
|
|
Loading…
Reference in a new issue