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