Skip to content

Commit f49008b

Browse files
committed
ci: Improve workflow
1 parent 3ac643b commit f49008b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ jobs:
1111
- name: Checkout
1212
uses: actions/checkout@v4
1313

14-
- name: Install dependencies
15-
run: npm ci
14+
- name: Set up node & dependencies
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
cache: "npm"
19+
- run: npm ci
1620

1721
- name: Run installer build
1822
run: npm run make-electron
1923

2024
- name: Publish installer artifact
21-
uses: actions/upload-artifact@v3
25+
uses: actions/upload-artifact@v4
2226
with:
2327
name: TriliumNext Notes for Windows (.exe)
2428
path: out/make/squirrel.windows/x64/*.exe

0 commit comments

Comments
 (0)