Skip to content

Commit 9bdaa47

Browse files
authored
Update README.md
Matching readme to latest release version and fixing checkout action (best practice not to use `@main` versioning)
1 parent 61ee7d7 commit 9bdaa47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Basic:
1818
```yaml
1919
steps:
2020
- uses: actions/checkout@main
21-
- uses: actions/setup-dotnet@v1
21+
- uses: actions/setup-dotnet@v1.5.0
2222
with:
2323
dotnet-version: '3.1.x' # SDK Version to use; x will use the latest version of the 3.1 channel
2424
- run: dotnet build <my project>
@@ -34,7 +34,7 @@ jobs:
3434
dotnet: [ '2.2.103', '3.0', '3.1.x' ]
3535
name: Dotnet ${{ matrix.dotnet }} sample
3636
steps:
37-
- uses: actions/checkout@main
37+
- uses: actions/checkout@v2
3838
- name: Setup dotnet
3939
uses: actions/setup-dotnet@v1
4040
with:
@@ -45,9 +45,9 @@ jobs:
4545
Authentication for nuget feeds:
4646
```yaml
4747
steps:
48-
- uses: actions/checkout@main
48+
- uses: actions/checkout@v2
4949
# Authenticates packages to push to GPR
50-
- uses: actions/setup-dotnet@v1
50+
- uses: actions/setup-dotnet@v1.5.0
5151
with:
5252
dotnet-version: '3.1.x' # SDK Version to use.
5353
source-url: https://nuget.pkg.github.com/<owner>/index.json

0 commit comments

Comments
 (0)