Skip to content

Commit

Permalink
chore: write minor version and patch version format #38
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Jan 7, 2021
1 parent de45689 commit cff86b6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,34 @@ steps:
- run: nimble test -Y
```
### Setup a latest patch version Nim
Setup a latest patch version Nim when `nim-version` is `1.n.x` .

```yaml
steps:
- uses: actions/checkout@v2
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: '1.2.x' # ex: 1.0.x, 1.2.x, 1.4.x ...
- run: nimble build -Y
- run: nimble test -Y
```

### Setup a latest minor version Nim

Setup a latest minor version Nim when `nim-version` is `1.x` .

```yaml
steps:
- uses: actions/checkout@v2
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: '1.x'
- run: nimble build -Y
- run: nimble test -Y
```

### Cache usage

```yaml
Expand Down

0 comments on commit cff86b6

Please sign in to comment.