Skip to content

Commit 93d2770

Browse files
committed
ci: cache electron and electron-builder toolchains
1 parent d1eea32 commit 93d2770

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ jobs:
4242
cache: npm
4343
cache-dependency-path: package.json
4444

45+
- name: Cache electron-builder toolchains
46+
uses: actions/cache@v4
47+
with:
48+
path: |
49+
~/.cache/electron
50+
~/.cache/electron-builder
51+
key: ${{ runner.os }}-ebuilder-${{ matrix.arch }}-${{ hashFiles('package.json', 'electron-builder.yml') }}
52+
restore-keys: |
53+
${{ runner.os }}-ebuilder-${{ matrix.arch }}-
54+
4555
- name: Install APT tooling
4656
run: |
4757
sudo apt-get update

0 commit comments

Comments
 (0)