diff --git a/.github/workflows/ohos.yml b/.github/workflows/ohos.yml index 72c2d663a8d..b9de1662047 100644 --- a/.github/workflows/ohos.yml +++ b/.github/workflows/ohos.yml @@ -72,9 +72,9 @@ jobs: run: sudo apt update && ./mach bootstrap --yes --skip-lints --skip-nextest - name: Setup OpenHarmony SDK id: setup_sdk - uses: openharmony-rs/setup-ohos-sdk@v0.2.3 + uses: openharmony-rs/setup-ohos-sdk@v0.2.4 with: - version: "5.0.2" + version: "6.0.0.1" # api 20 in openharmony fixup-path: true - name: Install node for hvigor uses: actions/setup-node@v4 diff --git a/support/openharmony/build-profile.json5 b/support/openharmony/build-profile.json5 index 3bd99a9df66..309bbbf98b1 100644 --- a/support/openharmony/build-profile.json5 +++ b/support/openharmony/build-profile.json5 @@ -4,16 +4,16 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": 14, - "compatibleSdkVersion": 14, - "targetSdkVersion": 14, + "compileSdkVersion": 20, + "compatibleSdkVersion": 20, + "targetSdkVersion": 20, "runtimeOS": "OpenHarmony" }, { "name": "harmonyos", "signingConfig": "hos", - "compatibleSdkVersion": "5.0.2(14)", - "targetSdkVersion": "5.0.2(14)", + "compatibleSdkVersion": "6.0.1(21)", + "targetSdkVersion": "6.0.1(21)", "runtimeOS": "HarmonyOS" } ],