char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
3a002afaf
char/aliceai-t5-moe
1name : "Install exe" 2description : "Download and install exe" 3inputs : 4url : 5description : "URL of the exe installer" 6required : true 7args : 8description : "Installer arguments" 9required : true 10timeout : 11description : "Timeout (in ms)" 12required : false 13default : "600000" 14 15runs : 16using : "composite" 17steps : 18- name : Install EXE 19shell : pwsh 20run : | 21 $ErrorActionPreference = "Stop" 22 write-host "Downloading Installer EXE" 23 Invoke-WebRequest -Uri "${{ inputs.url }}" -OutFile "${env:RUNNER_TEMP}\temp-install.exe" 24 write-host "Installing" 25 $proc = Start-Process "${env:RUNNER_TEMP}\temp-install.exe" -ArgumentList '${{ inputs.args }}' -NoNewWindow -PassThru 26 $completed = $proc.WaitForExit(${{ inputs.timeout }}) 27 if (-not $completed) { 28 Write-Error "Installer timed out. Killing the process" 29 $proc.Kill() 30 exit 1 31 } 32 if ($proc.ExitCode -ne 0) { 33 Write-Error "Installer failed with exit code $($proc.ExitCode)" 34 exit 1 35 } 36 write-host "Completed installation"