From 4afce1c2b7b5eb174124b02ad6104b64c39ed327 Mon Sep 17 00:00:00 2001 From: TheSnowfield <17957399+TheSnowfield@users.noreply.github.com> Date: Sun, 24 Mar 2024 03:03:52 +0800 Subject: [PATCH] ci: test ci --- .github/workflows/pack-nuget.yaml | 8 ++++--- Konata.Codec/Konata.Codec.csproj | 35 +++------------------------ Konata.Codec/Konata.Codec.nuspec | 39 +++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 35 deletions(-) create mode 100644 Konata.Codec/Konata.Codec.nuspec diff --git a/.github/workflows/pack-nuget.yaml b/.github/workflows/pack-nuget.yaml index 39b5207..a308444 100644 --- a/.github/workflows/pack-nuget.yaml +++ b/.github/workflows/pack-nuget.yaml @@ -32,7 +32,9 @@ jobs: - name: Publish run: | - dotnet build -c Release Konata.Codec - dotnet pack -c Release Konata.Codec - dotnet pack -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg Konata.Codec + cd Konata.Codec + dotnet build Konata.Codec.csproj + dotnet pack -p:NuspecFile=Konata.Codec.nuspec && ls -al bin/Release + + diff --git a/Konata.Codec/Konata.Codec.csproj b/Konata.Codec/Konata.Codec.csproj index cd1994c..1f5a100 100644 --- a/Konata.Codec/Konata.Codec.csproj +++ b/Konata.Codec/Konata.Codec.csproj @@ -4,22 +4,12 @@ netstandard2.1 Library latest - true - Konata Project - Konata Project - Konata Codec - Konata Project (C) 2024 - https://github.com/KonataDev/Konata.Codec - Audio & Video codec library for Konata. - 1.3.1 en-US - $(PackageVersion) - LICENSE true - .\$(OutDir)\Konata.Codec.xml + ./bin/Konata.Codec.xml @@ -28,27 +18,8 @@ - - True - - - - True - - - - - - - - - - - - - - - + + diff --git a/Konata.Codec/Konata.Codec.nuspec b/Konata.Codec/Konata.Codec.nuspec new file mode 100644 index 0000000..5101f9f --- /dev/null +++ b/Konata.Codec/Konata.Codec.nuspec @@ -0,0 +1,39 @@ + + + + Konata.Codec + 1.3.1 + Konata Project + true + LICENSE + https://aka.ms/deprecateLicenseUrl + Audio & Video codec library for Konata. + Konata Project (C) 2024 + + + + + + + + + + + + + + + + + + + + + + + + + + + +