ci: Join workflows

This commit is contained in:
Elian Doran 2024-07-21 08:35:47 +03:00
parent ad7a29a700
commit b55e93c7c1
No known key found for this signature in database
3 changed files with 18 additions and 31 deletions

View File

@ -1,3 +0,0 @@
on:
workflow_call:

View File

@ -115,6 +115,24 @@ jobs:
with:
name: 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:
name: Build Docker image
runs-on: ubuntu-latest

View File

@ -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