Skip to content

Commit

Permalink
Merge pull request #195 from actions/malob/update-readme
Browse files Browse the repository at this point in the history
Add preview example to README
  • Loading branch information
AlenaSviridenko authored May 5, 2021
2 parents 7b20097 + b50d705 commit a71d1eb
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,24 @@ See [action.yml](action.yml)
Basic:
```yaml
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x' # SDK Version to use; x will use the latest version of the 3.1 channel
- run: dotnet build <my project>
```
Preview version:
```yml
steps:
- uses: actions@checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
include-prerelease: true
- run: dotnet build <my project>
```
Matrix Testing:
```yaml
jobs:
Expand Down

0 comments on commit a71d1eb

Please sign in to comment.