diff options
author | Giles Cope <[email protected]> | 2020-01-09 19:21:08 +0000 |
---|---|---|
committer | Giles Cope <[email protected]> | 2020-01-09 19:21:08 +0000 |
commit | f562a1fc9f41ca162cf9253c2845204c8d9a0cee (patch) | |
tree | b663c846c68b3ba91cc12b1d0623b34b65d051e4 /.github/workflows | |
parent | 6fecdd3ccf1ac8cdc70a8b1942855a136e323c75 (diff) |
Packaging server bins
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yaml | 15 |
1 files changed, 13 insertions, 2 deletions
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: | |||
77 | if: matrix.os == 'windows-latest' | 77 | if: matrix.os == 'windows-latest' |
78 | run: Remove-Item ./target/debug/xtask.exe | 78 | run: Remove-Item ./target/debug/xtask.exe |
79 | 79 | ||
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 | |||
80 | - name: Upload artifacts | 91 | - name: Upload artifacts |
81 | uses: actions/upload-artifact@v1 | 92 | uses: actions/upload-artifact@v1 |
82 | with: | 93 | with: |
83 | name: executables | 94 | name: executables-${{ matrix.os }} |
84 | path: ./target/debug | 95 | path: ./dist |
85 | 96 | ||
86 | type-script: | 97 | type-script: |
87 | name: TypeScript | 98 | name: TypeScript |