From 1b2cff689cd7facf4e3f9ce36900a17632b82bc4 Mon Sep 17 00:00:00 2001 From: Mukilan Thiyagarajan Date: Wed, 11 Sep 2024 17:30:50 +0530 Subject: [PATCH] bring back harmonyOS config Signed-off-by: Mukilan Thiyagarajan --- .github/workflows/ohos.yml | 4 ++-- support/openharmony/build-profile.json5 | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ohos.yml b/.github/workflows/ohos.yml index 8ad11b5313b06..cc3588e3af7ee 100644 --- a/.github/workflows/ohos.yml +++ b/.github/workflows/ohos.yml @@ -55,7 +55,7 @@ jobs: uses: mukilan/setup-ohos-sdk@v0.1.11 # TODO: this needs to be updated with: version: "4.1" - components: "native;toolchains;ets" + components: "native;toolchains;ets;js;previewer" fixup-path: true - name: Install node for hvigor uses: actions/setup-node@v4 @@ -93,4 +93,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: ${{ inputs.profile }}-binary-ohos-${{ matrix.arch }} - path: target/openharmony/${{ matrix.arch }}/${{ inputs.profile }}/entry/build/default/outputs/default/servoshell-default-unsigned.hap + path: target/openharmony/${{ matrix.arch }}/${{ inputs.profile }}/entry/build/default/outputs/default/servoshell-default-signed.hap diff --git a/support/openharmony/build-profile.json5 b/support/openharmony/build-profile.json5 index 8bcaa6ca4bfc7..4b6c8f6106911 100644 --- a/support/openharmony/build-profile.json5 +++ b/support/openharmony/build-profile.json5 @@ -8,6 +8,13 @@ "compatibleSdkVersion": 11, "targetSdkVersion": 11, "runtimeOS": "OpenHarmony" + }, + { + "name": "harmonyos", + "signingConfig": "default", + "compatibleSdkVersion": "4.0.0(10)", + "targetSdkVersion": "4.0.0(10)", + "runtimeOS": "HarmonyOS" } ], "buildModeSet": [ @@ -27,7 +34,8 @@ { "name": "default", "applyToProducts": [ - "default" + "default", + "harmonyos" ] } ]