mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Packaging server bins
This commit is contained in:
parent
6fecdd3ccf
commit
f562a1fc9f
1 changed files with 13 additions and 2 deletions
15
.github/workflows/ci.yaml
vendored
15
.github/workflows/ci.yaml
vendored
|
@ -77,11 +77,22 @@ jobs:
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: Remove-Item ./target/debug/xtask.exe
|
run: Remove-Item ./target/debug/xtask.exe
|
||||||
|
|
||||||
|
- name: Creat distribution dir
|
||||||
|
run: mkdir ./dist
|
||||||
|
|
||||||
|
- name: Copy binaries (non-win)
|
||||||
|
if: matrix.os != 'windows-latest'
|
||||||
|
run: cp ./target/debug/ra-lsp-server.* ./dist
|
||||||
|
|
||||||
|
- name: Copy binaries (win)
|
||||||
|
if: matrix.os == 'windows-latest'
|
||||||
|
run: copy ./target/debug/ra-lsp-server.* ./dist
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: executables
|
name: executables-${{ matrix.os }}
|
||||||
path: ./target/debug
|
path: ./dist
|
||||||
|
|
||||||
type-script:
|
type-script:
|
||||||
name: TypeScript
|
name: TypeScript
|
||||||
|
|
Loading…
Reference in a new issue