From f49008bf217f7aad2fb5e1c5bd455bb5b21d27e6 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 21 Jul 2024 00:02:43 +0300 Subject: [PATCH] ci: Improve workflow --- .github/workflows/release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1859c0a3..ee9ea0234 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