fix(ci): repair native and Maestro checks
This commit is contained in:
@@ -290,7 +290,7 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev \
|
||||
libstdc++-12-dev libmpv-dev libepoxy-dev libcurl4-openssl-dev
|
||||
libstdc++-12-dev libmpv-dev libepoxy-dev libcurl4-openssl-dev libevdev-dev
|
||||
|
||||
- name: Prepare Flutter Linux configuration
|
||||
run: |
|
||||
@@ -497,10 +497,18 @@ jobs:
|
||||
throw "Flutter 3.44.0 resolved to $actualCommit, expected $expectedCommit"
|
||||
}
|
||||
"$root\bin" | Out-File -FilePath $env:GITHUB_PATH -Append -Encoding utf8
|
||||
$versionJson = & "$root\bin\flutter.bat" --version --machine
|
||||
& "$root\bin\flutter.bat" --version
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "Unable to bootstrap the Flutter SDK"
|
||||
}
|
||||
$versionOutput = & "$root\bin\flutter.bat" --version --machine
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "Unable to resolve the Flutter SDK version"
|
||||
}
|
||||
$versionJson = $versionOutput | Where-Object { $_ -match '^\s*\{' } | Select-Object -Last 1
|
||||
if (-not $versionJson) {
|
||||
throw "Flutter did not report machine-readable version JSON"
|
||||
}
|
||||
$version = $versionJson | ConvertFrom-Json
|
||||
if ($version.frameworkVersion -ne "3.44.0") {
|
||||
throw "Flutter reported version $($version.frameworkVersion), expected 3.44.0"
|
||||
|
||||
Reference in New Issue
Block a user