diff options
-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 |