Home

Awesome

Setup MoonBit Action

中文说明

Setup-Moonbit@Dev Daily Checking

This GitHub Action will setup a MoonBit environment for you. It should work on Github macOS , Ubuntu , and Windows runners.

Usage

Basic

It's quite simple to use hustcer/setup-moonbit , just follow the example below:

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

  - name: Setup Moonbit
    uses: hustcer/setup-moonbit@v1

  - name: Check Moonbit Version
    run: |
        moon version --all

Or, check the test.yaml example.

In rare circumstances you might get rate limiting errors, if this happens you can set the GITHUB_TOKEN environment variable.

- uses: hustcer/setup-moonbit@v1
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Inputs

NameRequiredDescriptionTypeDefault
versionnoA valid moonbit tool chain version, such as 0.1.20241104+8ce5d2967, nightly, latest, etc. or even bleedingstringlatest
setup-corenotrue to download and bundle Moonbit Core, false to ignore itbooltrue

License

Licensed under: