You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup MoonBit
v1.6.1
This GitHub Action will setup a MoonBit environment for you. It should work on Github macos
, ubuntu
, and Windows
runners.
It's quite simple to use hustcer/setup-moonbit
, just follow the example below:
steps:
- name: Checkout
uses: actions/[email protected]
- 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 }}
Name | Required | Description | Type | Default |
---|---|---|---|---|
version |
no | A valid moonbit tool chain version, such as 0.1.20240910+3af041b9a , etc. or bleeding (currently for macOS only) |
string | latest |
setup-core |
no | true to download and bundle Moonbit Core, false to ignore it |
bool | true |
Licensed under:
- MIT license (LICENSE or http://opensource.org/licenses/MIT)