Skip to content

openharmony-rs/setup-ohos-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OHOS SDK

This is a simple GitHub action to automatically download and install the OpenHarmony SDK, so you can use it in your GitHub actions workflow.

Usage

name: Main

on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Setup OpenHarmony SDK
        uses: openharmony-rs/[email protected]

Options

inputs:

Name Type Default Description
version String 5.0.0 Version of the OpenHarmony SDK (e.g. 4.0, 4.1, 5.0.0 or 5.0.1)
cache Boolean true Uses the GitHub actions cache to cache the SDK when enabled.
components String all SDK components that should be added. all or semicolon seperated list of components.
mirror Boolean true Download from Github Releases mirror of the SDK if possible.

outputs:

Name Type Description
api-version String API Version of the SDK (e.g. 12 for OpenHarmony 5.0.0, or 13 for OpenHarmony 5.0.1)
sdk-version String Specific SDK version (e.g. 4.1.7.5)
ohos_sdk_native String Path to the native directory in the OpenHarmony SDK.

About

Github action to setup the OpenHarmony SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages