Skip to content

Commit

Permalink
ci skip
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Nov 10, 2024
1 parent cb9e21f commit 1c76cf1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![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)
[![Daily Checking](https://github.com/hustcer/setup-moonbit/actions/workflows/daily.yml/badge.svg)](https://github.com/hustcer/setup-moonbit/actions/workflows/daily.yml)

This GitHub Action will setup a [MoonBit](https://www.moonbitlang.com/) environment for you. It should work on Github `macos` , `ubuntu` , and `Windows` runners.
This GitHub Action will setup a [MoonBit](https://www.moonbitlang.com/) environment for you. It should work on Github `macOS` , `Ubuntu` , and `Windows` runners.

## Usage

Expand Down Expand Up @@ -40,7 +40,7 @@ In rare circumstances you might get rate limiting errors, if this happens you ca

| Name | Required | Description | Type | Default |
| ------------ | -------- | ------------ | ------ | --------- |
| `version` | no | A valid moonbit tool chain version, such as `0.1.20241104+8ce5d2967`, `nightly` , etc. or `bleeding` | string | `latest`|
| `version` | no | A valid moonbit tool chain version, such as `0.1.20241104+8ce5d2967`, `nightly`, `latest`, etc. or even `bleeding` | string | `latest`|
| `setup-core` | no | `true` to download and bundle Moonbit Core, `false` to ignore it | bool | `true` |

## License
Expand Down
4 changes: 2 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![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)

本 GitHub Action 将为你配置一个 [MoonBit](https://www.moonbitlang.com/) 开发环境。适用于 Github `macos` , `ubuntu``Windows` 工作流运行时镜像。
本 GitHub Action 将为你配置一个 [MoonBit](https://www.moonbitlang.com/) 开发环境。适用于 Github `macOS` , `Ubuntu``Windows` 工作流运行时镜像。

## 使用

Expand Down Expand Up @@ -37,7 +37,7 @@ steps:

| 参数名 | 必填 | 描述 | 类型 | 默认值 |
| ---------------- | -------- | --- | ------ | --------- |
| `version` | 否 | 合法的 Moonbit 工具链版本,比如: `0.1.20241104+8ce5d2967`, `nightly` 或者 `bleeding` | string | `latest` |
| `version` | 否 | 合法的 Moonbit 工具链版本,比如: `0.1.20241104+8ce5d2967`, `nightly`, `latest` 或者 `bleeding` | string | `latest` |
| `setup-core` | 否 | 设置为 `true` 则下载并打包 Moonbit Core, `false` 则忽略 | bool | `true` |

## 许可
Expand Down
4 changes: 2 additions & 2 deletions nu/moonbit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export def 'setup moonbit' [
let MOONBIT_BIN_DIR = [$nu.home-path .moon bin] | path join
let MOONBIT_LIB_DIR = [$nu.home-path .moon lib] | path join
let coreDir = $'($MOONBIT_LIB_DIR)/core'
if not ($MOONBIT_BIN_DIR | path exists) { mkdir $MOONBIT_BIN_DIR; }
if not ($MOONBIT_LIB_DIR | path exists) { mkdir $MOONBIT_LIB_DIR; }
if not ($MOONBIT_BIN_DIR | path exists) { mkdir $MOONBIT_BIN_DIR }
if not ($MOONBIT_LIB_DIR | path exists) { mkdir $MOONBIT_LIB_DIR }

cd $MOONBIT_BIN_DIR
let OS_INFO = $'($nu.os-info.name)_($nu.os-info.arch)'
Expand Down

0 comments on commit 1c76cf1

Please sign in to comment.