Skip to content

Commit

Permalink
Update README for v2
Browse files Browse the repository at this point in the history
Update the README examples for v2.
  • Loading branch information
martincostello authored Jun 8, 2022
1 parent e338756 commit a250a73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ An example Pull Request created by the action can be found [here](https://github

```yml
steps:
- uses: actions/checkout@v2
- uses: martincostello/update-dotnet-sdk@v1
- uses: actions/checkout@v3
- uses: martincostello/update-dotnet-sdk@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
```
Expand All @@ -37,8 +37,8 @@ jobs:
name: Update .NET SDK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: martincostello/update-dotnet-sdk@v1
- uses: actions/checkout@v3
- uses: martincostello/update-dotnet-sdk@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
```
Expand All @@ -56,7 +56,7 @@ jobs:
| **Name** | **Description** | **Default** |
|:--|:--|:--|
| `branch-name` | The optional Git branch name to use. | - |
| `channel` | The optional .NET release channel to download the SDK for (2.1, 3.1, 5.0, etc.). | The channel derived from the current SDK version. |
| `channel` | The optional .NET release channel to download the SDK for (3.1, 6.0, etc.). | The channel derived from the current SDK version. |
| `commit-message` | The optional Git commit message to use. | - |
| `global-json-file` | The optional path to the global.json file to update the SDK for. | `./global.json` |
| `labels` | The optional comma-separated label(s) to apply to Pull Requests generated by the action. | - |
Expand Down

0 comments on commit a250a73

Please sign in to comment.