Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Matching readme to latest release version and fixing checkout action (best practice not to use `@main` versioning)
  • Loading branch information
Tim Heuer authored and GitHub committed Aug 3, 2020
1 parent 61ee7d7 commit 9bdaa47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Basic:
```yaml
steps:
- uses: actions/checkout@main
- uses: actions/setup-dotnet@v1
- uses: actions/setup-dotnet@v1.5.0
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>
Expand All @@ -34,7 +34,7 @@ jobs:
dotnet: [ '2.2.103', '3.0', '3.1.x' ]
name: Dotnet ${{ matrix.dotnet }} sample
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
Expand All @@ -45,9 +45,9 @@ jobs:
Authentication for nuget feeds:
```yaml
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v2
# Authenticates packages to push to GPR
- uses: actions/setup-dotnet@v1
- uses: actions/setup-dotnet@v1.5.0
with:
dotnet-version: '3.1.x' # SDK Version to use.
source-url: https://nuget.pkg.github.com/<owner>/index.json
Expand Down

0 comments on commit 9bdaa47

Please sign in to comment.