mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-12-27 03:57:32 +08:00
Use dotnet-version (#16)
This commit is contained in:
@@ -19,7 +19,7 @@ steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
version: '2.2.103' // SDK Version to use.
|
||||
dotnet-version: '2.2.103' // SDK Version to use.
|
||||
- run: dotnet build <my project>
|
||||
```
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
version: ${{ matrix.dotnet }}
|
||||
dotnet-version: ${{ matrix.dotnet }}
|
||||
- run: dotnet build <my project>
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user