mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
Revert "chore(ci): remove server build temporarily" (closes #1612)
This reverts commit c50a67f36b01bcb8e8f5f05ca3a7a54ee6cc1542.
This commit is contained in:
parent
39d466caf8
commit
1e47203b61
33
.github/workflows/nightly.yml
vendored
33
.github/workflows/nightly.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user