mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-26 05:13:05 +07:00
Update README.md
This commit is contained in:
parent
0ee1d31b44
commit
1566687aab
@ -12,8 +12,8 @@ See [action.yml](action.yml)
|
||||
Basic:
|
||||
```yaml
|
||||
actions:
|
||||
- uses: actions/checkout@latest
|
||||
- uses: actions/setup-dotnet@latest
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-dotnet@master
|
||||
with:
|
||||
version: 2.2.103 // Version to use.
|
||||
- run: dotnet build <my project>
|
||||
@ -28,9 +28,9 @@ jobs:
|
||||
dotnet: [ 2.2.103, 3.5.2, 4.5.1 ]
|
||||
name: Dotnet ${{ matrix.dotnet }} sample
|
||||
actions:
|
||||
- uses: actions/checkout@latest
|
||||
- uses: actions/checkout@master
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@latest
|
||||
uses: actions/setup-dotnet@master
|
||||
with:
|
||||
version: ${{ matrix.dotnet }}
|
||||
- run: dotnet build <my project>
|
||||
|
Loading…
Reference in New Issue
Block a user