Обновить .gitea/workflows/install.yaml
All checks were successful
Install MSI on Specific Runner / deploy_all (K4012-KOA) (push) Successful in 2s
Install MSI on Specific Runner / install_single (push) Successful in 2s

This commit is contained in:
2026-04-16 11:46:54 +05:00
parent 22ea321feb
commit 43ce5f1fb0

View File

@@ -2,16 +2,6 @@ name: Install MSI on Specific Runner
on: [push]
jobs:
# Вариант 1: Запуск только на одном (или первом свободном) self-hosted раннере
install_single:
runs-on: self-hosted
steps:
- name: Install MSI and Create Log
shell: powershell
run: |
Start-Process msiexec.exe -ArgumentList "/i C:\install\MAX.msi /qn /norestart" -Wait
"Installed successfully on $(hostname) at $(Get-Date)" | Out-File -FilePath "C:\install\git_MAX.txt" -Encoding utf8
# Вариант 2: Параллельный запуск на конкретном списке машин (Матрица)
deploy_all:
strategy:
@@ -25,4 +15,13 @@ jobs:
run: |
# Используем другой файл (git_MAX2.txt), как вы указали
Start-Process msiexec.exe -ArgumentList "/i C:\install\MAX.msi /qn /norestart" -Wait
"Installed successfully on $(hostname) at $(Get-Date)" | Out-File -FilePath "C:\install\git_MAX2.txt" -Encoding utf8
"Installed successfully on $(hostname) at $(Get-Date)" | Out-File -FilePath "C:\install\git_MAX2.txt" -Encoding utf8
# Вариант 1: Запуск только на одном (или первом свободном) self-hosted раннере
install_single:
runs-on: self-hosted
steps:
- name: Install MSI and Create Log
shell: powershell
run: |
Start-Process msiexec.exe -ArgumentList "/i C:\install\MAX.msi /qn /norestart" -Wait
"Installed successfully on $(hostname) at $(Get-Date)" | Out-File -FilePath "C:\install\git_MAX.txt" -Encoding utf8