Skip to content

Commit a71d1eb

Browse files
Merge pull request #195 from actions/malob/update-readme
Add preview example to README
2 parents 7b20097 + b50d705 commit a71d1eb

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,24 @@ See [action.yml](action.yml)
2323
Basic:
2424
```yaml
2525
steps:
26-
- uses: actions/checkout@main
26+
- uses: actions/checkout@v2
2727
- uses: actions/setup-dotnet@v1
2828
with:
2929
dotnet-version: '3.1.x' # SDK Version to use; x will use the latest version of the 3.1 channel
3030
- run: dotnet build <my project>
3131
```
3232
33+
Preview version:
34+
```yml
35+
steps:
36+
- uses: actions@checkout@v2
37+
- uses: actions/setup-dotnet@v1
38+
with:
39+
dotnet-version: '6.0.x'
40+
include-prerelease: true
41+
- run: dotnet build <my project>
42+
```
43+
3344
Matrix Testing:
3445
```yaml
3546
jobs:

0 commit comments

Comments
 (0)