diff --git a/.gitea/workflows/install.yaml b/.gitea/workflows/install.yaml index b4cb54d..9439b04 100644 --- a/.gitea/workflows/install.yaml +++ b/.gitea/workflows/install.yaml @@ -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 \ No newline at end of file + "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