diff --git a/.github/workflows/release-matrix.yaml b/.github/workflows/release-matrix.yaml index 01a9109..56fdc36 100644 --- a/.github/workflows/release-matrix.yaml +++ b/.github/workflows/release-matrix.yaml @@ -25,7 +25,7 @@ jobs: steps: - uses: actions/checkout@v4.1.2 - name: Setup nu@${{matrix.ver}} - uses: hustcer/setup-nu@v3.9 + uses: hustcer/setup-nu@v3.10 with: enable-plugins: false version: ${{matrix.ver}} diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index c552e03..c22fa36 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -52,11 +52,11 @@ jobs: os: [ubuntu-22.04, macos-latest, windows-latest] runs-on: ${{ matrix.os }} - name: test (${{matrix.os}}, setup-nu@v3.9) + name: test (${{matrix.os}}, setup-nu@v3.10) steps: - uses: actions/checkout@v4.1.2 - name: Setup nu@latest - uses: hustcer/setup-nu@v3.9 + uses: hustcer/setup-nu@v3.10 with: version: v0.80 enable-plugins: true diff --git a/README.md b/README.md index 3f92241..83f14fb 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Then you can set the command you want to run in the following steps, and don't f to make the commands be executed by `nu`: ```yaml -- uses: hustcer/setup-nu@v3.9 +- uses: hustcer/setup-nu@v3.10 with: version: "0.80" # Don't use 0.80 here, as it was a float number and will be convert to 0.8, you can use v0.80/0.80.0 or '0.80' - run: print $'Nu version info:(char nl)'; version @@ -77,7 +77,7 @@ To use modules in `Nu`, please refer to the following examples: ```yaml - name: Setup nu - uses: hustcer/setup-nu@v3.9 + uses: hustcer/setup-nu@v3.10 with: version: 0.92.2 env: @@ -94,7 +94,7 @@ You have to wrap the `nu` code in `nu -c ""`, and the nu version should be equal ```yaml - name: Setup nu - uses: hustcer/setup-nu@v3.9 + uses: hustcer/setup-nu@v3.10 with: version: 0.92.2 env: @@ -113,7 +113,7 @@ Again, the nu version should be equal to or above `0.69`. ```yaml - name: Setup nu@latest - uses: hustcer/setup-nu@v3.9 + uses: hustcer/setup-nu@v3.10 with: version: 0.92.2 env: @@ -140,7 +140,7 @@ They are not perfect yet, but they do work. BTW: Please tell me if you found a b `Nushell` is currently in active development, if you want to use the latest features it's also available by set the version to `nightly`, just as below: ```yaml -- uses: hustcer/setup-nu@v3.9 +- uses: hustcer/setup-nu@v3.10 with: version: nightly # Will download and setup the latest nightly version of Nushell - run: print $'Nu version info:(char nl)'; version @@ -172,7 +172,7 @@ If you want to use the latest version of nushell you can specify this by set `ch the latest version: ```yaml -- uses: hustcer/setup-nu@v3.9 +- uses: hustcer/setup-nu@v3.10 with: check-latest: true - run: print $'Nu version info:(char nl)'; version diff --git a/README.zh-CN.md b/README.zh-CN.md index e8f328f..f2e4432 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -20,7 +20,7 @@ 在大多数情况下,你只需要在工作流程中通过 `version` 字段指定要使用的 Nushell 的版本即可。比如下面的例子将会安装 [Nushell](https://github.com/nushell/nushell) 的`v0.80`版本。然后你可以在后续步骤中配置你想运行的命令,最后别忘了设置`shell: nu {0}`以使命令被`nu`执行: ```yaml -- uses: hustcer/setup-nu@v3.9 +- uses: hustcer/setup-nu@v3.10 with: version: "0.80" # 不要使用 0.80, 它会被认为是一个浮点数并转换为 0.8, 你可以使用 v0.80/0.80.0 或者 '0.80'(加了引号变成字符串) - run: print $'Nu version info:(char nl)'; version @@ -72,7 +72,7 @@ jobs: ```yaml - name: Setup nu - uses: hustcer/setup-nu@v3.9 + uses: hustcer/setup-nu@v3.10 with: version: 0.92.2 env: @@ -89,7 +89,7 @@ jobs: ```yaml - name: Setup nu - uses: hustcer/setup-nu@v3.9 + uses: hustcer/setup-nu@v3.10 with: version: 0.92.2 env: @@ -108,7 +108,7 @@ jobs: ```yaml - name: Setup nu@latest - uses: hustcer/setup-nu@v3.9 + uses: hustcer/setup-nu@v3.10 with: version: 0.92.2 env: @@ -135,7 +135,7 @@ jobs: `Nushell` 目前正处于活跃开发期,如果你想使用最新的特性也可以通过将版本设置为 `nightly` 获得,比如下面的例子: ```yaml -- uses: hustcer/setup-nu@v3.9 +- uses: hustcer/setup-nu@v3.10 with: version: nightly # Will download and setup the latest nightly version of Nushell - run: print $'Nu version info:(char nl)'; version @@ -165,7 +165,7 @@ jobs: 如果你想使用最新版本的 Nushell,你可以通过设置 `check-latest` 为 `true` 来做到(它与`version: '*'`配置的效果相同,但更易读)。例如,以下将会安装最新版本的 Nushell: ```yaml -- uses: hustcer/setup-nu@v3.9 +- uses: hustcer/setup-nu@v3.10 with: check-latest: true - run: print $'Nu version info:(char nl)'; version diff --git a/package.json b/package.json index c3055b5..7e85d8d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "setup-nu", - "version": "3.9.0", - "actionVer": "v3.9", + "version": "3.10.0", + "actionVer": "v3.10", "description": "A Github Action to Setup a Nushell Environment to Run Nu Scripts or Commands", "main": "dist/index.js", "private": true,