From 6030ffbb543fd6c3c2f5df2299f08701d1b247f0 Mon Sep 17 00:00:00 2001 From: kalugin66 Date: Thu, 16 Apr 2026 11:38:16 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/install.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/install.yaml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/install.yaml b/.gitea/workflows/install.yaml index 534110c..1a37a5c 100644 --- a/.gitea/workflows/install.yaml +++ b/.gitea/workflows/install.yaml @@ -5,7 +5,6 @@ jobs: install_msi: # Указываем метку, которую мы прописали в config.yaml runs-on: self-hosted - steps: - name: Install MSI and Create Log shell: powershell @@ -15,4 +14,21 @@ jobs: Start-Process msiexec.exe -ArgumentList "/i C:\install\MAX.msi /qn /norestart" -Wait # 2. Создание текстового файла - "Installed successfully on $(hostname) at $(Get-Date)" | Out-File -FilePath "C:\install\git_MAX.txt" -Encoding utf8 \ No newline at end of file + "Installed successfully on $(hostname) at $(Get-Date)" | Out-File -FilePath "C:\install\git_MAX.txt" -Encoding utf8 +deploy_all: + strategy: + matrix: + # Перечислите здесь уникальные имена или метки всех ваших машин + target_runner: [K4012-KOA, SECOND-RUNNER, THIRD-RUNNER] + + runs-on: ${{ matrix.target_runner }} + steps: + - name: Install MSI and Create Log + shell: powershell + run: | + # 1. Тихая установка MSI + # /i - установка, /qn - без интерфейса, /norestart - без перезагрузки + Start-Process msiexec.exe -ArgumentList "/i C:\install\MAX.msi /qn /norestart" -Wait + + # 2. Создание текстового файла + "Installed successfully on $(hostname) at $(Get-Date)" | Out-File -FilePath "C:\install\git_MAX2.txt" -Encoding utf8 \ No newline at end of file