]> git.lizzy.rs Git - rust.git/commitdiff
Packaging server bins
authorGiles Cope <gilescope@gmail.com>
Thu, 9 Jan 2020 19:21:08 +0000 (19:21 +0000)
committerGiles Cope <gilescope@gmail.com>
Thu, 9 Jan 2020 19:21:08 +0000 (19:21 +0000)
.github/workflows/ci.yaml

index 8f2a48ece722f06469a6cf45f7a3fa221e512bb7..e1a4800db4ccb86b1324df9eb0989eaf450acd2a 100644 (file)
@@ -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