Skip to content

Commit 028a537

Browse files
committed
fix: Add Electron caching to the build-release workflow.
1 parent 9ca9671 commit 028a537

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build-release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,17 @@ jobs:
113113
114114
# --- Electron Build ---
115115

116+
- name: Cache Electron
117+
uses: actions/cache@v4
118+
with:
119+
path: |
120+
~/.cache/electron
121+
~/Library/Caches/electron
122+
%LOCALAPPDATA%\electron\Cache
123+
key: ${{ runner.os }}-electron-${{ hashFiles('package-lock.json') }}
124+
restore-keys: |
125+
${{ runner.os }}-electron-
126+
116127
- name: Install Dependencies
117128
run: bun install
118129

0 commit comments

Comments
 (0)