This commit is contained in:
RoyceDa
2026-02-18 14:29:09 +02:00
parent 5470df481d
commit 65089fd71b

View File

@@ -22,7 +22,10 @@ jobs:
uses: actions/cache@v5
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
if-no-files-found: ignore
# Кэш для electron-builder
- name: Cache electron-builder
@@ -31,10 +34,13 @@ jobs:
path: |
${{ env.LOCALAPPDATA }}\\electron-builder\\Cache
${{ env.LOCALAPPDATA }}\\electron\\Cache
key: ${{ runner.os }}-electron-builder
key: ${{ runner.os }}-electron-builder-${{ hashFiles('**/electron-builder.yml') }}
restore-keys: |
${{ runner.os }}-electron-builder-
if-no-files-found: ignore
- name: Install npm dependencies
run: npm ci
run: npm install
- name: Build the application
run: npm run kernel:win
@@ -42,7 +48,7 @@ jobs:
- name: Upload to SSH using WinSCP Powershell
shell: powershell
run: |
& "$env:GITHUB_WORKSPACE\sshupload.ps1" `
& "$env:GITHUB_WORKSPACE\.gitea\sshupload.ps1" `
-LocalFilePath "dist/builds/win/x64/Rosetta-*.exe" `
-RemoteFolderPath "${{ secrets.SSH_TARGET_DIR }}" `
-ServerAddress "${{ secrets.SSH_HOST }}" `