From ca09cfafcf6c2e5493ae12206fa3c4ab84776847 Mon Sep 17 00:00:00 2001 From: Shaopeng <81775155+shaopeng-gh@users.noreply.github.com> Date: Thu, 27 Jul 2023 13:16:22 -0700 Subject: [PATCH] jschema Fix build (#174) * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml 6 * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml 1 * Update azure-pipelines.yml2 * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml6 * Update azure-pipelines.yml7 * Update azure-pipelines.yml8 * Update azure-pipelines.yml * Update azure-pipelines.yml10 * Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 10 ++++++++++ azure-pipelines.yml | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 21bd61b..edb90ea 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,6 +22,16 @@ jobs: fail-fast: false steps: + - name: .NET Core 3.1.x sdk + uses: actions/setup-dotnet@v3.2.0 + with: + dotnet-version: 3.1.x + + - name: .NET Core 6.0.x sdk + uses: actions/setup-dotnet@v3.2.0 + with: + dotnet-version: 6.0.x + - name: Checkout repository uses: actions/checkout@v2 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4cade03..91ad5f5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,6 +5,17 @@ pool: vmImage: 'windows-latest' steps: +- task: UseDotNet@2 + displayName: .NET Core 3.1 sdk + inputs: + version: "3.1.x" + +- task: UseDotNet@2 + displayName: .NET Core 6.0 sdk + inputs: + version: "6.0.x" + packageType: sdk + - task: BatchScript@1 displayName: 'Run VsDevCmd.bat' inputs: