Skip to content

Setup HarmonyOS SDK

Actions
Set up a specific version of the HarmonyOS SDK and add the command-line tools to the PATH
0.2.1
Latest
Star (6)

HarmonyOS GitHub Action setup

GitHub Super-Linter CI

Usage

This action requires java 17 or above as sdkmgr from HarmonyOS SDK requires java 17 or above.

After testing, you can create version tag(s) that developers can use to reference different stable versions of your action. For more information, see Versioning in the GitHub Actions toolkit.

To include the action in a workflow in another repository, you can use the uses syntax with the @ symbol to reference a specific branch, tag, or commit hash.

steps:
  - name: Checkout
    id: checkout
    uses: actions/checkout@v4

  - name: Run my Action
    id: run-action
    uses: harmonyos-dev/setup-harmonyos-sdk@0.2.0
    # with:
    #   version: '2.0.0.2' # 可选,不填默认是最新版本 2.0.0.2

Setup HarmonyOS SDK is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Set up a specific version of the HarmonyOS SDK and add the command-line tools to the PATH
0.2.1
Latest

Setup HarmonyOS SDK is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.