OHOS: update ci to use api-14 and newer action (#37395)

Update the CI to use api version 14 and 5.0.2 sdk. Additionally, update
the action. This is required because of
https://github.com/servo/servo/pull/37392.

Testing: CI does not have tests.

---------

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Co-authored-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Narfinger 2025-06-11 21:34:09 +02:00 committed by GitHub
parent 84372d5734
commit ea5a20ab8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -67,9 +67,9 @@ jobs:
run: sudo apt update && ./mach bootstrap --skip-lints
- name: Setup OpenHarmony SDK
id: setup_sdk
uses: openharmony-rs/setup-ohos-sdk@v0.1
uses: openharmony-rs/setup-ohos-sdk@v0.2.1
with:
version: "5.0.0"
version: "5.0.2"
fixup-path: true
- name: Install node for hvigor
uses: actions/setup-node@v4

View file

@ -4,16 +4,16 @@
{
"name": "default",
"signingConfig": "default",
"compileSdkVersion": 12,
"compatibleSdkVersion": 12,
"targetSdkVersion": 12,
"compileSdkVersion": 14,
"compatibleSdkVersion": 14,
"targetSdkVersion": 14,
"runtimeOS": "OpenHarmony"
},
{
"name": "harmonyos",
"signingConfig": "hos",
"compatibleSdkVersion": "5.0.0(12)",
"targetSdkVersion": "5.0.0(12)",
"compatibleSdkVersion": "5.0.2(14)",
"targetSdkVersion": "5.0.2(14)",
"runtimeOS": "HarmonyOS"
}
],