ohos: pin version of setup-ohos-sdk action to fix CI (#33719)

The most recent [v0.1.3] release seems to not set the expected
OHOS_SDK_NATIVE and OHOS_BASE_SDK_HOME environment variables.

This is causing the OHOS builds to fail in CI and blocking the merge
queue. This change pins he action to the last known good version until
the error can be addressed upstream.

Fixes #33712.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
Mukilan Thiyagarajan 2024-10-08 11:46:02 +05:30 committed by GitHub
parent d200557434
commit 946fa9cdee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,11 @@ jobs:
run: sudo apt update && python3 ./mach bootstrap --skip-lints
- name: Setup OpenHarmony SDK
id: setup_sdk
uses: openharmony-rs/setup-ohos-sdk@v0.1
# FIXME: We pin the exact patch version to the LKG version of the
# action to address bugs in the most recent 0.1.2 release. Once that
# has been addresssed upstream, we can revert to specifying only the
# major.minor tag.
uses: openharmony-rs/setup-ohos-sdk@v0.1.2
with:
version: "4.1"
components: "native;toolchains;ets;js;previewer"