Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update README
  • Loading branch information
alessio-perugini committed Jul 1, 2024
commit 510aef43a2b4c39cc280f270b2a47911b220ec26
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ To get the latest stable version of `arduino-cli` just add this step:

```yaml
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1
uses: arduino/setup-arduino-cli@v2
```

If you want to pin a major or minor version you can use the `.x` wildcard:

```yaml
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1
uses: arduino/setup-arduino-cli@v2
with:
version: "0.x"
version: "1.x"
```

To pin the exact version:

```yaml
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1
uses: arduino/setup-arduino-cli@v2
with:
version: "0.5.0"
version: "1.0.1"
```

## Examples
Expand Down