simplify setup dotnet (#1043)

This commit is contained in:
Boshi Lian
2022-10-03 11:16:15 -07:00
committed by GitHub
parent 8888a16b58
commit d9c5c73663
4 changed files with 25 additions and 59 deletions

View File

@@ -25,18 +25,13 @@ jobs:
with:
fetch-depth: 0
- name: Setup dotnet SDK 3.1
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: '3.1.x'
- name: Setup dotnet SDK 5
uses: actions/setup-dotnet@v2
with:
dotnet-version: '5.0.x'
- name: Setup dotnet SDK 6
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
dotnet-version: |
3.1.x
5.0.x
6.0.x
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL