This commit is contained in:
RoyceDa
2026-02-17 19:40:21 +02:00
parent a9e2dbc24a
commit 7ef14364c7

View File

@@ -1,8 +1,9 @@
name: Build Windows name: Build Windows
#Запускаем только кнопкой "Run workflow" в Actions -> Build Windows
on: on:
push: workflow_dispatch:
branches:
- main
jobs: jobs:
build: build:
@@ -15,4 +16,13 @@ jobs:
- name: Install npm dependencies - name: Install npm dependencies
run: npm install run: npm install
- name: Build the application - name: Build the application
run: npm run kernel:win run: npm run kernel:win
- name: Upload build on SSH
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
source: "/dist/builds/win/x64/Rosetta-*.exe"
target: ${{ secrets.SSH_TARGET_DIR }}