From 7aed6d4ad47fd1a220ca6dd8b7fdf636a41639d2 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 13 Jul 2024 23:16:00 +0300 Subject: [PATCH] ci: Add build Linux Server --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eb6f54821..d826bf63f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,6 +44,22 @@ jobs: with: name: trilium_amd64.deb path: dist/trilium_*.deb + build_linux_server-x64: + name: Build Linux Server x86_64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up node & dependencies + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: "npm" + - run: npm ci + - run: ./bin/build-server.sh + - uses: actions/upload-artifact@v4 + with: + name: trilium-linux-x64-server-x64.tar.xz + path: dist/trilium-linux-x64-server-*.tar.xz build_docker: name: Build Docker image runs-on: ubuntu-latest