commit c52feea6ebda5927d98eedbfc95c9b698739ffa6 Author: kalugin66 Date: Thu Apr 16 11:32:45 2026 +0500 Добавить .gitea/workflows/install.yaml diff --git a/.gitea/workflows/install.yaml b/.gitea/workflows/install.yaml new file mode 100644 index 0000000..534110c --- /dev/null +++ b/.gitea/workflows/install.yaml @@ -0,0 +1,18 @@ +name: Install MSI on Specific Runner +on: [push] + +jobs: + install_msi: + # Указываем метку, которую мы прописали в config.yaml + runs-on: self-hosted + + 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_MAX.txt" -Encoding utf8 \ No newline at end of file