Обновление сборки для Linux

This commit is contained in:
2026-02-21 13:55:28 +00:00
parent e473524c4b
commit a9ebc136ab

View File

@@ -20,34 +20,8 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: '22'
# Кэш npm (тарифы грузятся из ~/.npm-cache на macOS)
- name: Cache npm cache
uses: actions/cache@v5
with:
path: ${{ env.HOME }}/.npm-cache
key: ${{ runner.os }}-npm-linux-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-npm-linux-
if-no-files-found: ignore
# Кэш для electron-builder
- name: Cache electron-builder
uses: actions/cache@v5
with:
path: |
${{ env.HOME }}/Library/Caches/electron-builder
${{ env.HOME }}/Library/Caches/electron
key: ${{ runner.os }}-electron-linux-builder-${{ hashFiles('**/electron-builder.yml') }}
restore-keys: |
${{ runner.os }}-electron-linux-builder-
if-no-files-found: ignore
- name: NPM offline setup
shell: bash
run: |
npm config set cache "$HOME/.npm-cache" --global
npm config set prefer-offline true --global
- name: Install npm dependencies
run: npm install --prefer-offline --no-audit --no-fund
run: npm install --no-audit --no-fund
- name: Build the application
run: npm run kernel:linux
#Загружаем на удаленный сервер по SSH используя scp и пароль из секретов