name: Build Windows #Запускаем только кнопкой "Run workflow" в Actions -> Build Windows on: workflow_dispatch: jobs: build: runs-on: Windows steps: - name: Checkout code uses: actions/checkout@v6 - name: Install Node.js uses: actions/setup-node@v6 with: node-version: '24' cache: 'npm' - name: Install npm dependencies run: npm ci --legacy-peer-deps - name: Build the application run: npm run kernel:win - name: Upload to SSH using WinSCP Powershell shell: powershell run: | & "$env:GITHUB_WORKSPACE\sshupload.ps1" ` -LocalFilePath "dist/builds/win/x64/Rosetta-*.exe" ` -RemoteFolderPath "${{ secrets.SSH_TARGET_DIR }}" ` -ServerAddress "${{ secrets.SSH_HOST }}" ` -Username "${{ secrets.SSH_USERNAME }}" ` -PasswordParam "${{ secrets.SSH_PASSWORD }}"