File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " Install exe"
2+ description : " Download and install exe"
3+ inputs :
4+ url :
5+ description : " URL of the exe installer"
6+ required : true
7+ args :
8+ description : " Installer arguments"
9+ required : true
10+ timeout :
11+ description : " Timeout (in ms)"
12+ required : false
13+ default : " 600000"
14+
15+ runs :
16+ using : " composite"
17+ steps :
18+ - name : Install EXE
19+ shell : pwsh
20+ run : |
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"
Original file line number Diff line number Diff line change 1+ name : " Unarchive tar"
2+ description : " Download and unarchive tar into directory"
3+ inputs :
4+ url :
5+ description : " URL of the tar archive"
6+ required : true
7+ path :
8+ description : " Directory to unarchive into"
9+ required : true
10+ type :
11+ description : " Compression type (tar option)"
12+ required : false
13+ default : " J"
14+ strip :
15+ description : " Strip components"
16+ required : false
17+ default : " 0"
18+
19+ runs :
20+ using : " composite"
21+ steps :
22+ - name : Unarchive into directory
23+ shell : bash
24+ run : |
25+ mkdir -p ${{ inputs.path }}
26+ cd ${{ inputs.path }}
27+ curl --no-progress-meter ${{ inputs.url }} | tar -${{ inputs.type }}x --strip-components=${{ inputs.strip }}
Original file line number Diff line number Diff line change @@ -791,6 +791,7 @@ jobs:
791791
792792 macOS-latest-swift :
793793 runs-on : macos-latest
794+ if : false
794795
795796 strategy :
796797 matrix :
@@ -1266,6 +1267,7 @@ jobs:
12661267
12671268 android-ndk-build :
12681269 runs-on : ubuntu-latest
1270+ if : false
12691271
12701272 env :
12711273 OPENCL_VERSION : 2025.07.22
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments