Upload GitHub workflow

This commit is contained in:
Linwenxuan05 2023-06-29 18:22:51 +08:00
parent f14dd0eaaa
commit 45b1f5bb8b
3 changed files with 65 additions and 18 deletions

View file

@ -0,0 +1,42 @@
name: Lagrange.Core NuGet Push
on:
push:
tags:
- '*.*.*'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
- name: Build and Pack
run: |
cd ./Lagrange.Core
dotnet build --configuration Release
dotnet pack --configuration Release
dotnet pack --configuration Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
ls
ls ./bin/Release/
- name: Install Nuget
uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'
- name: Add private GitHub registry to NuGet
run: |
nuget sources add -name github -Source https://nuget.pkg.github.com/Linwenxuan05/index.json -Username Linwenxuan05 -Password ${{ secrets.GITHUB_TOKEN }}
- name: Push generated package to GitHub registry and NuGet
run: |
nuget push .\Lagrange.Core\bin\Release\*.nupkg -Source github -SkipDuplicate
nuget push .\Lagrange.Core\bin\Release\*.nupkg -Source https://api.nuget.org/v3/index.json -SkipDuplicate -ApiKey ${{ secrets.NUGETAPIKEY }}

View file

@ -10,10 +10,15 @@
<Description>The Implementation of NTQQ for Pure C#, Event Driven, derived from Konata.Core</Description>
<LangVersion>10</LangVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.1</Version>
<Version>0.0.1-alpha</Version>
<Copyright>Linwenxuan04 2023</Copyright>
<RepositoryUrl>https://github.com/Linwenxuan05/Lagrange.Core</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<ItemGroup>
<None Include="../README.md" Pack="true" PackagePath="\"/>
<PackageReference Include="protobuf-net" Version="3.2.16" />
<PackageReference Include="System.Text.Json" Version="7.0.2" />
</ItemGroup>

View file

@ -12,17 +12,17 @@ An Implementation of NTQQ Protocol, with Pure C#, Derived from Konata.Core
## Features List
| Login | Support | Messages | Support | Operations | Support | Events | Support |
|---------------------------|---------|:----------------|:-----------|:------------------|:----------|:-----------------------|:--------|
| QrCode | 🟢 | Images | 🔴 | ~~Poke~~ | 🔴 | Captcha | 🔴 |
| Password | 🔴 | Text / At | 🔴 | Recall | 🔴 | BotOnline | 🟢 |
|---------------------------|---------|:----------------|:-----------|:--------------------|:----------|:-----------------------|:--------|
| QrCode | 🟢 | Images | 🟡 | ~~Poke~~ | 🔴 | Captcha | 🔴 |
| Password | 🔴 | Text / At | 🟡 | Recall | 🔴 | BotOnline | 🟢 |
| EasyLogin | 🟢 | Records | 🔴 | Leave Group | 🔴 | BotOffline | 🟢 |
| UnusalDevice<br/>Password | 🔴 | QFace | 🔴 | ~~Special Title~~ | 🔴 | Message | 🔴 |
| | | Json | 🔴 | Kick Member | 🔴 | ~~Poke~~ | 🔴 |
| | | Xml | 🔴 | Mute Member | 🔴 | MessageRecall | 🔴 |
| | | Json | 🟡 | Kick Member | 🔴 | ~~Poke~~ | 🔴 |
| | | Xml | 🟡 | Mute Member | 🔴 | MessageRecall | 🔴 |
| | | Forward | 🔴 | Set Admin | 🔴 | GroupMemberDecrease | 🔴 |
| | | Video | 🔴 | Friend Request | 🔴 | GroupMemberIncrease | 🔴 |
| | | ~~Flash Image~~ | 🔴 | Group Request | 🔴 | GroupPromoteAdmin | 🔴 |
| | | Reply | 🔴 | Voice Call | 🔴 | GroupInvite | 🔴 |
| | | Reply | 🔴 | ~~Voice Call~~ | 🔴 | GroupInvite | 🔴 |
| | | File | 🔴 | Csrf Token | 🔴 | GroupRequestJoin | 🔴 |
| | | | | Cookies | 🔴 | FriendRequest | 🔴 |
| | | | | | | ~~FriendTyping~~ | 🔴 |