Upload GitHub workflow
This commit is contained in:
parent
f14dd0eaaa
commit
45b1f5bb8b
3 changed files with 65 additions and 18 deletions
42
.github/workflow/Lagrange.Core-nuget-push.yml
vendored
Normal file
42
.github/workflow/Lagrange.Core-nuget-push.yml
vendored
Normal 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 }}
|
|
@ -10,11 +10,16 @@
|
|||
<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>
|
||||
<PackageReference Include="protobuf-net" Version="3.2.16" />
|
||||
<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>
|
||||
|
||||
|
|
32
README.md
32
README.md
|
@ -11,22 +11,22 @@ An Implementation of NTQQ Protocol, with Pure C#, Derived from Konata.Core
|
|||
</div>
|
||||
|
||||
## Features List
|
||||
| Login | Support | Messages | Support | Operations | Support | Events | Support |
|
||||
|---------------------------|---------|:----------------|:-----------|:------------------|:----------|:-----------------------|:--------|
|
||||
| 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 | 🔴 |
|
||||
| | | Forward | 🔴 | Set Admin | 🔴 | GroupMemberDecrease | 🔴 |
|
||||
| | | Video | 🔴 | Friend Request | 🔴 | GroupMemberIncrease | 🔴 |
|
||||
| | | ~~Flash Image~~ | 🔴 | Group Request | 🔴 | GroupPromoteAdmin | 🔴 |
|
||||
| | | Reply | 🔴 | Voice Call | 🔴 | GroupInvite | 🔴 |
|
||||
| | | File | 🔴 | Csrf Token | 🔴 | GroupRequestJoin | 🔴 |
|
||||
| | | | | Cookies | 🔴 | FriendRequest | 🔴 |
|
||||
| | | | | | | ~~FriendTyping~~ | 🔴 |
|
||||
| | | | | | | ~~FriendVoiceCall~~ | 🔴 |
|
||||
| Login | Support | Messages | Support | Operations | Support | Events | Support |
|
||||
|---------------------------|---------|:----------------|:-----------|:--------------------|:----------|:-----------------------|:--------|
|
||||
| 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 | 🔴 |
|
||||
| | | Forward | 🔴 | Set Admin | 🔴 | GroupMemberDecrease | 🔴 |
|
||||
| | | Video | 🔴 | Friend Request | 🔴 | GroupMemberIncrease | 🔴 |
|
||||
| | | ~~Flash Image~~ | 🔴 | Group Request | 🔴 | GroupPromoteAdmin | 🔴 |
|
||||
| | | Reply | 🔴 | ~~Voice Call~~ | 🔴 | GroupInvite | 🔴 |
|
||||
| | | File | 🔴 | Csrf Token | 🔴 | GroupRequestJoin | 🔴 |
|
||||
| | | | | Cookies | 🔴 | FriendRequest | 🔴 |
|
||||
| | | | | | | ~~FriendTyping~~ | 🔴 |
|
||||
| | | | | | | ~~FriendVoiceCall~~ | 🔴 |
|
||||
|
||||
## Known Problem
|
||||
- [ ] Signature Service is currently not established, so the login tend to be failed and return code may be 45, you can establish your own sign service by rewriting the `Signature` static class.
|
Loading…
Reference in a new issue