Skip to content

Commit f562a1f

Browse files
committed
Packaging server bins
1 parent 6fecdd3 commit f562a1f

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,22 @@ jobs:
7777
if: matrix.os == 'windows-latest'
7878
run: Remove-Item ./target/debug/xtask.exe
7979

80+
- name: Creat distribution dir
81+
run: mkdir ./dist
82+
83+
- name: Copy binaries (non-win)
84+
if: matrix.os != 'windows-latest'
85+
run: cp ./target/debug/ra-lsp-server.* ./dist
86+
87+
- name: Copy binaries (win)
88+
if: matrix.os == 'windows-latest'
89+
run: copy ./target/debug/ra-lsp-server.* ./dist
90+
8091
- name: Upload artifacts
8192
uses: actions/upload-artifact@v1
8293
with:
83-
name: executables
84-
path: ./target/debug
94+
name: executables-${{ matrix.os }}
95+
path: ./dist
8596

8697
type-script:
8798
name: TypeScript

0 commit comments

Comments
 (0)