Фикс неправильной сборки в результате кэширования старых зависимостей
This commit is contained in:
@@ -26,9 +26,9 @@ jobs:
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: ${{ env.HOME }}/.npm-cache
|
||||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package.json') }}
|
||||
key: ${{ runner.os }}-npm-linux-${{ hashFiles('**/package.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-npm-
|
||||
${{ runner.os }}-npm-linux-
|
||||
if-no-files-found: ignore
|
||||
# Кэш для electron-builder
|
||||
- name: Cache electron-builder
|
||||
@@ -37,9 +37,9 @@ jobs:
|
||||
path: |
|
||||
${{ env.HOME }}/Library/Caches/electron-builder
|
||||
${{ env.HOME }}/Library/Caches/electron
|
||||
key: ${{ runner.os }}-electron-builder-${{ hashFiles('**/electron-builder.yml') }}
|
||||
key: ${{ runner.os }}-electron-linux-builder-${{ hashFiles('**/electron-builder.yml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-electron-builder-
|
||||
${{ runner.os }}-electron-linux-builder-
|
||||
if-no-files-found: ignore
|
||||
- name: NPM offline setup
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user