Revert "chore(ci): remove server build temporarily" (closes #1612)

This reverts commit c50a67f36b01bcb8e8f5f05ca3a7a54ee6cc1542.
This commit is contained in:
Elian Doran 2025-04-03 10:55:14 +03:00
parent 39d466caf8
commit 1e47203b61
No known key found for this signature in database

View File

@ -83,3 +83,36 @@ jobs:
with: with:
name: TriliumNextNotes ${{ matrix.os.name }} ${{ matrix.arch }} name: TriliumNextNotes ${{ matrix.os.name }} ${{ matrix.arch }}
path: upload 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