mirror of https://github.com/microsoft/autogen.git
[.Net] fix code ql for dotnet build && update trigger for dotnet workflow (#2529)
* fix formatting * update dotnet build pipieline
This commit is contained in:
parent
11a43421e3
commit
5e29ac84dc
|
@ -6,11 +6,11 @@ name: dotnet-ci
|
|||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches: [ "dotnet" ]
|
||||
branches: [ "main" ]
|
||||
paths:
|
||||
- 'dotnet/**'
|
||||
push:
|
||||
branches: [ "dotnet" ]
|
||||
branches: [ "main" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
|
||||
|
|
|
@ -8,7 +8,6 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- dotnet/release/**
|
||||
- dotnet/release
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<RepoRoot>$(MSBuildThisFileDirectory)../</RepoRoot>
|
||||
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"sdk": {
|
||||
"version": "8.0.101",
|
||||
"version": "8.0.104",
|
||||
"rollForward": "latestMinor"
|
||||
}
|
||||
}
|
|
@ -44,8 +44,8 @@
|
|||
|
||||
<ItemGroup>
|
||||
<!-- Include icon.png and NUGET.md in the project. -->
|
||||
<None Include="$(RepoRoot)/dotnet/nuget/icon.png" Link="icon.png" Pack="true" PackagePath="." />
|
||||
<None Include="$(RepoRoot)/dotnet/nuget/NUGET.md" Link="NUGET.md" Pack="true" PackagePath="." />
|
||||
<None Include="$(RepoRoot)/nuget/icon.png" Link="icon.png" Pack="true" PackagePath="." />
|
||||
<None Include="$(RepoRoot)/nuget/NUGET.md" Link="NUGET.md" Pack="true" PackagePath="." />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Example11_TwoAgent_Fill_Application.cs
|
||||
// Example12_TwoAgent_Fill_Application.cs
|
||||
|
||||
using System.Text;
|
||||
using AutoGen.OpenAI;
|
||||
using AutoGen.Core;
|
||||
using Azure.AI.OpenAI;
|
||||
using AutoGen.OpenAI;
|
||||
using AutoGen.OpenAI.Extension;
|
||||
using Azure.AI.OpenAI;
|
||||
|
||||
namespace AutoGen.BasicSample;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<RootNamespace>AutoGen.Core</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />
|
||||
<Import Project="$(RepoRoot)/nuget/nuget-package.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- NuGet Package Settings -->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Workflow.cs
|
||||
// Graph.cs
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />
|
||||
<Import Project="$(RepoRoot)/nuget/nuget-package.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- NuGet Package Settings -->
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<RootNamespace>AutoGen.LMStudio</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />
|
||||
<Import Project="$(RepoRoot)/nuget/nuget-package.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- NuGet Package Settings -->
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<RootNamespace>AutoGen.Mistral</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />
|
||||
<Import Project="$(RepoRoot)/nuget/nuget-package.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- NuGet Package Settings -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
using System.Collections.Generic;
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// ChatCompletionResponse.cs
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AutoGen.Mistral;
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
using System.Text.Json.Serialization;
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Error.cs
|
||||
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AutoGen.Mistral
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
using System;
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Model.cs
|
||||
|
||||
using System;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AutoGen.Mistral;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<RootNamespace>AutoGen.OpenAI</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />
|
||||
<Import Project="$(RepoRoot)/nuget/nuget-package.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- NuGet Package Settings -->
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<RootNamespace>AutoGen.SemanticKernel</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />
|
||||
<Import Project="$(RepoRoot)/nuget/nuget-package.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- NuGet Package Settings -->
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<DefineConstants Condition="'$(LaunchDebugger)' == 'true'">$(DefineConstants);LAUNCH_DEBUGGER</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />
|
||||
<Import Project="$(RepoRoot)/nuget/nuget-package.props" />
|
||||
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<RootNamespace>AutoGen</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />
|
||||
<Import Project="$(RepoRoot)/nuget/nuget-package.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- NuGet Package Settings -->
|
||||
|
|
Loading…
Reference in New Issue