Skip to content

Commit 545948c

Browse files
committed
Automated build
1 parent cef04cd commit 545948c

3 files changed

Lines changed: 56 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build and Pack NuGet
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- trash
7+
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: windows-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup .NET
19+
uses: actions/setup-dotnet@v4
20+
with:
21+
dotnet-version: |
22+
9.0.x
23+
10.0.x
24+
25+
- name: Restore WinUI package
26+
run: dotnet restore PilotAIAssistantControlWinUI/PilotAIAssistantControlWinUI.csproj
27+
28+
- name: Restore WPF package
29+
run: dotnet restore PilotAIAssistantControlWPF/PilotAIAssistantControlWPF.csproj
30+
31+
- name: Build WinUI
32+
run: dotnet build PilotAIAssistantControlWinUI/PilotAIAssistantControlWinUI.csproj --configuration Release --no-restore
33+
34+
- name: Build WPF
35+
run: dotnet build PilotAIAssistantControlWPF/PilotAIAssistantControlWPF.csproj --configuration Release --no-restore
36+
37+
- name: Pack WinUI
38+
run: dotnet pack PilotAIAssistantControlWinUI/PilotAIAssistantControlWinUI.csproj --configuration Release --no-build --output ${{ github.workspace }}/nupkg
39+
40+
- name: Pack WPF
41+
run: dotnet pack PilotAIAssistantControlWPF/PilotAIAssistantControlWPF.csproj --configuration Release --no-build --output ${{ github.workspace }}/nupkg
42+
43+
- name: Upload NuGet Package Artifacts
44+
uses: actions/upload-artifact@v4
45+
with:
46+
name: PilotAIAssistantControl-NuGet
47+
path: ${{ github.workspace }}/nupkg/*.nupkg
48+
if-no-files-found: error

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

44
<PropertyGroup>
5-
<PackageVersion>1.0.3</PackageVersion>
5+
<PackageVersion>1.0.4</PackageVersion>
66
</PropertyGroup>
77
<PropertyGroup>
88
<PackageReadmeFile>README.md</PackageReadmeFile>
99
<!-- Common NuGet package properties -->
1010
<Authors Condition="'$(Authors)' == ''">MitchCapper</Authors>
1111
<PackageProjectUrl Condition="'$(PackageProjectUrl)' == ''">https://github.com/MitchCapper/PilotAIAssistantControl</PackageProjectUrl>
1212
<RepositoryUrl Condition="'$(RepositoryUrl)' == ''">https://github.com/MitchCapper/PilotAIAssistantControl</RepositoryUrl>
13-
13+
1414
<Copyright Condition="'$(Copyright)' == ''">Copyright © MitchCapper $([System.DateTime]::Now.Year)</Copyright>
1515
<PackageTags Condition="'$(PackageTags)' == ''">AI,AI Agent,windows,winui,wpf</PackageTags>
1616
</PropertyGroup>

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# PilotAiAssistControl
1+
# PilotAIAssistantControl
2+
[![Build](https://github.com/mitchcapper/PilotAIAssistantControl/actions/workflows/build.yml/badge.svg)](https://github.com/mitchcapper/PilotAIAssistantControl/actions/workflows/build.yml)
3+
[![PilotAIAssistantControl](https://img.shields.io/nuget/v/PilotAIAssistantControlWPF.svg?style=flat&label=PilotAIAssistantControl)](https://www.nuget.org/packages/PilotAIAssistantControlWPF/)
4+
25

36
A WPF (and beta WinUI3) user control that provides an AI chat assistant interface with support for multiple AI providers (GitHub Copilot, Google Gemini, Anthropic, OpenAI, GitHub Models, and custom or local providers like ollama that support OpenAI API endpoints). It is meant to be a very quick way to bolt on an AI agent to any application you have. You can provide context and direct action buttons inline with the AI responses. It includes both a standalone chat control and an expandable sidebar version. It has integrated support for discovery of local existing GitHub Copilot tokens (ie from vscode) and also integrates a login flow for users that don't already have it present.
47

@@ -21,7 +24,7 @@ Note this is not yet published as a nuget package recommend cloning this repo, t
2124

2225
<!-- TOC -->
2326

24-
- [PilotAiAssistControl](#pilotaiassistcontrol)
27+
- [PilotAIAssistantControl](#PilotAIAssistantControl)
2528
- [Screenshots](#screenshots)
2629
- [Installation](#installation)
2730
- [Quick Start](#quick-start)
@@ -52,7 +55,7 @@ Note this is not yet published as a nuget package recommend cloning this repo, t
5255
## Installation
5356

5457
```
55-
Install-Package PilotAiAssistControlWPF
58+
Install-Package PilotAIAssistantControlWPF
5659
```
5760

5861
## Quick Start

0 commit comments

Comments
 (0)