Compare commits

...

10 Commits

Author SHA1 Message Date
b68cfe851f Merge pull request 'main' (#8) from main into dev
Reviewed-on: #8
2026-02-21 16:37:02 +00:00
a9ebc136ab Обновление сборки для Linux 2026-02-21 13:55:28 +00:00
e473524c4b Правильный ранер для Linux 2026-02-21 13:22:53 +00:00
rosetta
6d75225635 1.0.5-1.5.0 2026-02-20 19:07:13 +02:00
991310592f 1.0.5-1.5.0
Reviewed-on: #7
2026-02-20 16:44:12 +00:00
8ffa66920e 1.0.5-1.5.0
Some checks failed
Windows Kernel Build / build (push) Failing after 4m26s
MacOS Kernel Build / build (push) Failing after 12m6s
Linux Kernel Build / build (push) Has been cancelled
SP Builds / build (push) Has been cancelled
Reviewed-on: #6
2026-02-20 16:26:06 +00:00
62f3bd5e35 1.0.4-1.4.9
Reviewed-on: #5
2026-02-19 21:13:20 +00:00
RoyceDa
9c8d3865a6 1.0.4-1.4.9
Some checks failed
SP Builds / build (push) Has been cancelled
2026-02-19 23:03:16 +02:00
RoyceDa
f8ca15422f Автоматическая сборка сервисных пакетов обновлений 2026-02-18 20:39:58 +02:00
eee419c0d4 1.0.3-1.4.9
Reviewed-on: #3
2026-02-18 18:37:40 +00:00
3 changed files with 4 additions and 30 deletions

View File

@@ -11,7 +11,7 @@ on:
jobs:
build:
runs-on: macos
runs-on: linux
steps:
- name: Checkout code
uses: actions/checkout@v6
@@ -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 и пароль из секретов

View File

@@ -53,7 +53,7 @@ jobs:
#Собираем Kernel чтобы свежие файлы попали в папку out
- name: Build the application
run: npm run kernel:linux
#Собираем сервисные пакеты для всех платформ
- name: Build SP
shell: bash

View File

@@ -59,7 +59,7 @@
"start": "electron-vite preview",
"postinstall": "electron-builder install-app-deps",
"build:unpack": "electron-vite build && electron-builder --dir",
"kernel:win": "mkdir -p \"dist/builds/win32/x64\" && electron-vite build && electron-builder --win --x64",
"kernel:win": "mkdir \"dist/builds/win/x64\" && electron-vite build && electron-builder --win --x64",
"kernel:darwin-arm64": "electron-vite build && electron-builder --mac --arm64",
"kernel:darwin-x64": "electron-vite build && electron-builder --mac --x64",
"kernel:mac": "mkdir -p dist/builds/darwin/arm64 dist/builds/darwin/x64 && npm run kernel:darwin-x64 && npm run kernel:darwin-arm64",