{"id":13541348,"url":"https://github.com/hustcer/setup-moonbit","last_synced_at":"2026-02-22T13:36:31.977Z","repository":{"id":205008139,"uuid":"712962984","full_name":"hustcer/setup-moonbit","owner":"hustcer","description":"A Github Action to setup a MoonBit environment for you.","archived":false,"fork":false,"pushed_at":"2025-03-05T14:46:01.000Z","size":92,"stargazers_count":9,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T15:34:35.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Nushell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hustcer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-01T15:04:55.000Z","updated_at":"2025-03-05T14:45:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"17bfc1d6-104c-4af6-9140-8989092bb58c","html_url":"https://github.com/hustcer/setup-moonbit","commit_stats":null,"previous_names":["hustcer/setup-moonbit"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcer%2Fsetup-moonbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcer%2Fsetup-moonbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcer%2Fsetup-moonbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcer%2Fsetup-moonbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hustcer","download_url":"https://codeload.github.com/hustcer/setup-moonbit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243307495,"owners_count":20270263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T10:00:44.511Z","updated_at":"2026-02-22T13:36:31.969Z","avatar_url":"https://github.com/hustcer.png","language":"Nushell","readme":"# Setup MoonBit Action\n\n[中文说明](README.zh-CN.md)\n\n[![Setup-Moonbit@Dev](https://github.com/hustcer/setup-moonbit/actions/workflows/basic.yml/badge.svg)](https://github.com/hustcer/setup-moonbit/actions/workflows/basic.yml)\n[![Daily Checking](https://github.com/hustcer/setup-moonbit/actions/workflows/daily.yml/badge.svg)](https://github.com/hustcer/setup-moonbit/actions/workflows/daily.yml)\n\nThis GitHub Action will setup a [MoonBit](https://www.moonbitlang.com/) environment for you. It should work on Github `macOS`, `Ubuntu`, and `Windows` runners.\n\n## Usage\n\n**NOTE**: It's recommended to use `hustcer/setup-moonbit@v1.16` or `hustcer/setup-moonbit@v1`. The `v1` tag will always point to the latest `1.x` version.\n\n### Basic\n\nIt's quite simple to use `hustcer/setup-moonbit` , just follow the example below:\n\n```yaml\nsteps:\n  - name: Setup Moonbit\n    uses: hustcer/setup-moonbit@v1\n\n  - name: Check Moonbit Version\n    run: |\n      moon version --all\n```\n\nOr, check the [test.yaml](https://github.com/hustcer/setup-moonbit/blob/main/.github/workflows/test.yml) example.\n\nIn rare circumstances you might get rate limiting errors, if this happens you can set the `GITHUB_TOKEN` environment variable.\n\n```yaml\n- uses: hustcer/setup-moonbit@v1\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n### Inputs\n\n| Name         | Type     | Description                                                                                                                                       |\n| ------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `version`    | `string` | Optional, A valid moonbit tool chain version, such as `0.8.1+bd827dc85`, `latest`, `pre-release`, or `nightly`. Defaults to `latest` or the value of `MOONBIT_INSTALL_VERSION` environment variable |\n| `setup-core` | `bool`   | Optional, Set to `true` to download and bundle Moonbit Core, `false` to skip it. Defaults to `true`                                              |\n| `core-version` | `string` | Optional, A valid moonbit core version, such as `0.8.1+bd827dc85`, `latest`, `pre-release`, or `nightly`. Defaults to `latest` |\n\n## License\n\nLicensed under:\n\n- MIT license ([LICENSE](LICENSE) or http://opensource.org/licenses/MIT)\n","funding_links":[],"categories":["Integrations","Tooling"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhustcer%2Fsetup-moonbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhustcer%2Fsetup-moonbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhustcer%2Fsetup-moonbit/lists"}