From 1e47203b61c1e8f46c19d724f5f0e2dbc764c756 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 3 Apr 2025 10:55:14 +0300 Subject: [PATCH] Revert "chore(ci): remove server build temporarily" (closes #1612) This reverts commit c50a67f36b01bcb8e8f5f05ca3a7a54ee6cc1542. --- .github/workflows/nightly.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 6c14f83bd..83b9c436c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -83,3 +83,36 @@ jobs: with: name: TriliumNextNotes ${{ matrix.os.name }} ${{ matrix.arch }} path: upload + + nightly-server: + name: Deploy server nightly + strategy: + fail-fast: false + matrix: + arch: [x64, arm64] + include: + - arch: x64 + runs-on: ubuntu-latest + - arch: arm64 + runs-on: ubuntu-24.04-arm + runs-on: ${{ matrix.runs-on }} + steps: + - uses: actions/checkout@v4 + + - name: Run the build + uses: ./.github/actions/build-server + with: + os: linux + arch: ${{ matrix.arch }} + + - name: Publish release + uses: softprops/action-gh-release@v2 + if: ${{ github.event_name != 'pull_request' }} + with: + make_latest: false + prerelease: true + draft: false + fail_on_unmatched_files: true + files: upload/*.* + tag_name: nightly + name: Nightly Build