From f562a1fc9f41ca162cf9253c2845204c8d9a0cee Mon Sep 17 00:00:00 2001 From: Giles Cope Date: Thu, 9 Jan 2020 19:21:08 +0000 Subject: Packaging server bins --- .github/workflows/ci.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8f2a48ece..e1a4800db 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -77,11 +77,22 @@ jobs: if: matrix.os == 'windows-latest' 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 uses: actions/upload-artifact@v1 with: - name: executables - path: ./target/debug + name: executables-${{ matrix.os }} + path: ./dist type-script: name: TypeScript -- cgit v1.2.3