diff --git a/.github/workflows/server-ci.yml b/.github/workflows/server-ci.yml index 2ccdf83..4f1b23b 100644 --- a/.github/workflows/server-ci.yml +++ b/.github/workflows/server-ci.yml @@ -62,3 +62,18 @@ jobs: run: | eval $(opam env) dune test + + - name: Install server + # if: ${{ github.event_name == 'push' && github.ref_name == 'main' }} + working-directory: ./cn-lsp/server + run: | + eval $(opam env) + dune install + + - name: Upload server binary + # if: ${{ github.event_name == 'push' && github.ref_name == 'main' }} + working-directory: ./cn-lsp/server + uses: actions/upload-artifact@v4 + with: + name: cn-lsp-server-${{ matrix.os }} + path: _build/install/default/bin/cn-lsp-server