Skip to content

Commit

Permalink
Bump to v3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Apr 27, 2024
1 parent 6e5ddf2 commit 0c0ea1c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Setup nu@${{matrix.ver}}
uses: hustcer/setup-nu@v3.9
uses: hustcer/setup-nu@v3.10
with:
enable-plugins: false
version: ${{matrix.ver}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- name: Setup nu@latest
uses: hustcer/setup-nu@v3.9
uses: hustcer/setup-nu@v3.10
with:
version: v0.80
enable-plugins: true
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 0c0ea1c

Please sign in to comment.