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