Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Add caching for Electron on Windows and macOS in CI workflow
Ylber Gashi606881321fc7
diff --git a/.github/workflows/publish-app.yml b/.github/workflows/publish-app.ymlindex b6b7901f..cd7c1ebf 100644--- a/.github/workflows/publish-app.yml+++ b/.github/workflows/publish-app.yml@@ -21,6 +21,16 @@ jobs:node-version: 22cache: 'npm'+ - name: Cache Electron (Windows)+ uses: actions/cache@v3+ with:+ path: |+ ~\AppData\Local\electron\Cache+ ~\AppData\Local\electron-builder\Cache+ key: ${{ runner.os }}-electron-cache-${{ hashFiles('**/package-lock.json') }}+ restore-keys: |+ ${{ runner.os }}-electron-cache-+- name: Set VERSIONshell: pwshrun: |@@ -44,7 +54,7 @@ jobs:- name: Install Dependenciesrun: |- npm ci --production+ npm ciworking-directory: apps/desktop- name: Build Electron App@@ -84,6 +94,16 @@ jobs:node-version: 22cache: 'npm'+ - name: Cache Electron (macOS)+ uses: actions/cache@v3+ with:+ path: |+ ~/Library/Caches/electron+ ~/Library/Caches/electron-builder+ key: ${{ runner.os }}-electron-cache-${{ hashFiles('**/package-lock.json') }}+ restore-keys: |+ ${{ runner.os }}-electron-cache-+- name: Set VERSIONrun: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV@@ -93,7 +113,7 @@ jobs:- name: Install Dependenciesrun: |- npm ci --production+ npm ciworking-directory: apps/desktop- name: Build Electron App