mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
ci: Join workflows
This commit is contained in:
parent
ad7a29a700
commit
b55e93c7c1
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -1,3 +0,0 @@
|
|||||||
on:
|
|
||||||
workflow_call:
|
|
||||||
|
|
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@ -115,6 +115,24 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: trilium-windows-x64
|
name: trilium-windows-x64
|
||||||
path: dist/trilium-windows-x64
|
path: dist/trilium-windows-x64
|
||||||
|
build_windows-installer:
|
||||||
|
name: Build Windows x86_64 (Setup)
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up node & dependencies
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
cache: "npm"
|
||||||
|
- run: npm ci
|
||||||
|
- name: Run installer build
|
||||||
|
run: npm run make-electron
|
||||||
|
- name: Publish installer artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: TriliumNext Notes for Windows (Setup)
|
||||||
|
path: out/make/squirrel.windows/x64/*.exe
|
||||||
build_docker:
|
build_docker:
|
||||||
name: Build Docker image
|
name: Build Docker image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
28
.github/workflows/release.yml
vendored
28
.github/workflows/release.yml
vendored
@ -1,28 +0,0 @@
|
|||||||
name: Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-windows-installer:
|
|
||||||
name: Build Windows Installer
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up node & dependencies
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
cache: "npm"
|
|
||||||
- run: npm ci
|
|
||||||
|
|
||||||
- name: Run installer build
|
|
||||||
run: npm run make-electron
|
|
||||||
|
|
||||||
- name: Publish installer artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: TriliumNext Notes for Windows (.exe)
|
|
||||||
path: out/make/squirrel.windows/x64/*.exe
|
|
Loading…
x
Reference in New Issue
Block a user