CI: Bump setup-ohos-sdk to v0.1.4 (#33739)

* CI: Bump setup-ohos-sdk to v0.1.4

v0.1.3 had a bug when the SDK was restored from cache.
This was fixed upstream, andcache-hit behavior is now also
tested in upstream CI.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* CI: Use major tag again for setup-ohos-sdk

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

---------

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Jonathan Schwender 2024-10-13 09:17:24 +02:00 committed by GitHub
parent 5c0a0d29d0
commit efaba0472a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,14 +59,9 @@ jobs:
run: sudo apt update && python3 ./mach bootstrap --skip-lints run: sudo apt update && python3 ./mach bootstrap --skip-lints
- name: Setup OpenHarmony SDK - name: Setup OpenHarmony SDK
id: setup_sdk id: setup_sdk
# FIXME: We pin the exact patch version to the LKG version of the uses: openharmony-rs/setup-ohos-sdk@v0.1
# action to address bugs in the most recent 0.1.3 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: with:
version: "4.1" version: "4.1"
components: "native;toolchains;ets;js;previewer"
fixup-path: true fixup-path: true
- name: Install node for hvigor - name: Install node for hvigor
uses: actions/setup-node@v4 uses: actions/setup-node@v4