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/[email protected]
- name: Check Moonbit Version
run: |
moon version
moonc -v
moonrun --version
moon new hello && cd hello
moon run main
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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Currently no input required
Licensed under:
- MIT license (LICENSE or http:https://opensource.org/licenses/MIT)