Skip to content

Setup Zig OHOS

Actions
Download and install Zig OHOS from openharmony-zig/zig-patch releases
v0.1.0
Latest
Star (0)

setup-zig-ohos

This is a simple Github Action to download and setup zig-lang which patched for OpenHarmony. It can help us to use zig in Github Action.

Example

name: Main

on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Setup Zig OpenHarmony SDK
        uses: openharmony-zig/setup-zig-ohos@v0.1

Options

inputs

Name Type Default Description
tag String 0.16.0-dev.312+164c598cd zig version which will download from zig-patch
cache Boolean true Uses the GitHub actions cache to cache the SDK when enabled.

Support Platforms

  • aarch64 mac
  • x86_64 window
  • x86_64 linux for musl
  • x86_64 linux for gnu

License

MIT

Setup Zig OHOS 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

Download and install Zig OHOS from openharmony-zig/zig-patch releases
v0.1.0
Latest

Setup Zig OHOS 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.