From 5ccd9d625e7916120f4028308f0e3a5f67d376d3 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Mon, 20 Jan 2025 20:46:27 +0800 Subject: [PATCH 1/2] Add `Baklava` support --- lib/input-validator.js | 2 +- src/input-validator.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/input-validator.js b/lib/input-validator.js index c27593be7..626ada89d 100644 --- a/lib/input-validator.js +++ b/lib/input-validator.js @@ -7,7 +7,7 @@ exports.VALID_ARCHS = ['x86', 'x86_64', 'arm64-v8a']; exports.VALID_CHANNELS = ['stable', 'beta', 'dev', 'canary']; exports.MIN_PORT = 5554; exports.MAX_PORT = 5584; -exports.PREVIEW_API_LEVELS = ['Tiramisu', 'UpsideDownCake', 'VanillaIceCream']; +exports.PREVIEW_API_LEVELS = ['Tiramisu', 'UpsideDownCake', 'VanillaIceCream', 'Baklava']; function checkApiLevel(apiLevel) { if (exports.PREVIEW_API_LEVELS.some((previewLevel) => apiLevel.startsWith(previewLevel))) return; diff --git a/src/input-validator.ts b/src/input-validator.ts index 8804685ea..e5142ccc3 100644 --- a/src/input-validator.ts +++ b/src/input-validator.ts @@ -4,7 +4,7 @@ export const VALID_ARCHS: Array = ['x86', 'x86_64', 'arm64-v8a']; export const VALID_CHANNELS: Array = ['stable', 'beta', 'dev', 'canary']; export const MIN_PORT = 5554; export const MAX_PORT = 5584; -export const PREVIEW_API_LEVELS: Array = ['Tiramisu', 'UpsideDownCake', 'VanillaIceCream']; +export const PREVIEW_API_LEVELS: Array = ['Tiramisu', 'UpsideDownCake', 'VanillaIceCream', 'Baklava']; export function checkApiLevel(apiLevel: string): void { if (PREVIEW_API_LEVELS.some((previewLevel) => apiLevel.startsWith(previewLevel))) return; From 2648a5ec7d493a061f1ad1af1f9a31cb927eece2 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Fri, 24 Jan 2025 19:18:32 +0800 Subject: [PATCH 2/2] Fix typo of `ubuntu-latest` to fix CI --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 06c078931..587da8638 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,7 @@ jobs: api-level: 34 target: aosp_atd arch: x86_64 - - os: ubuntu-lastest + - os: ubuntu-latest api-level: 35 target: google_apis arch: x86_64