Skip to content

Commit 50d5b10

Browse files
authored
Add Baklava support (#424)
* Add `Baklava` support * Fix typo of `ubuntu-latest` to fix CI
1 parent c77bfe7 commit 50d5b10

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
api-level: 34
3636
target: aosp_atd
3737
arch: x86_64
38-
- os: ubuntu-lastest
38+
- os: ubuntu-latest
3939
api-level: 35
4040
target: google_apis
4141
arch: x86_64

lib/input-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports.VALID_ARCHS = ['x86', 'x86_64', 'arm64-v8a'];
77
exports.VALID_CHANNELS = ['stable', 'beta', 'dev', 'canary'];
88
exports.MIN_PORT = 5554;
99
exports.MAX_PORT = 5584;
10-
exports.PREVIEW_API_LEVELS = ['Tiramisu', 'UpsideDownCake', 'VanillaIceCream'];
10+
exports.PREVIEW_API_LEVELS = ['Tiramisu', 'UpsideDownCake', 'VanillaIceCream', 'Baklava'];
1111
function checkApiLevel(apiLevel) {
1212
if (exports.PREVIEW_API_LEVELS.some((previewLevel) => apiLevel.startsWith(previewLevel)))
1313
return;

src/input-validator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const VALID_ARCHS: Array<string> = ['x86', 'x86_64', 'arm64-v8a'];
44
export const VALID_CHANNELS: Array<string> = ['stable', 'beta', 'dev', 'canary'];
55
export const MIN_PORT = 5554;
66
export const MAX_PORT = 5584;
7-
export const PREVIEW_API_LEVELS: Array<string> = ['Tiramisu', 'UpsideDownCake', 'VanillaIceCream'];
7+
export const PREVIEW_API_LEVELS: Array<string> = ['Tiramisu', 'UpsideDownCake', 'VanillaIceCream', 'Baklava'];
88

99
export function checkApiLevel(apiLevel: string): void {
1010
if (PREVIEW_API_LEVELS.some((previewLevel) => apiLevel.startsWith(previewLevel))) return;

0 commit comments

Comments
 (0)