Skip to content

A Github Action to setup a MoonBit environment for you.

License

Notifications You must be signed in to change notification settings

hustcer/setup-moonbit

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup MoonBit Action

中文说明

Setup-Moonbit@Dev

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.1.3

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

  - 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/setup-moonbit@v1.5
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Inputs

Currently no input required

License

Licensed under:

About

A Github Action to setup a MoonBit environment for you.

Resources

License

Stars

Watchers

Forks

Packages

No packages published