Skip to content

Build your personal knowledge base with Trilium Notes

ci: Improve workflow

Elian Doranf49008bf217f
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f1859c0a31..ee9ea02342 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -11,14 +11,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- - name: Install dependencies
- run: npm ci
+ - 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@v3
+ uses: actions/upload-artifact@v4
with:
name: TriliumNext Notes for Windows (.exe)
path: out/make/squirrel.windows/x64/*.exe
\ No newline at end of file