Skip to content

Commit

Permalink
Changed the output paths, updated Github action workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
yallie committed Jan 27, 2023
1 parent 854968f commit f99cae8
Show file tree
Hide file tree
Showing 17 changed files with 159 additions and 95 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
run: dotnet pack src -c Release --no-build -p:PublicRelease=true

- name: Publish
run: dotnet nuget push CdekSdk\bin\Release\CdekSdk*.nupkg -k "${{ secrets.NUGET_JSON_SERVICES_API_TOKEN }}" -s https://api.nuget.org/v3/index.json
run: dotnet nuget push bin\Release\JsonServices*.nupkg -k "${{ secrets.NUGET_JSON_SERVICES_API_TOKEN }}" -s https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<Copyright>Copyright Alexey Yakovlev 2018-2023. All rights reserved.</Copyright>
<Description>C# Message-Based JSON-RPC Client over WebSockets</Description>
<TargetFrameworks>net6.0</TargetFrameworks>
<IsPackable>False</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
<BaseOutputPath>..\..\bin\UnitTests</BaseOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
Expand All @@ -41,6 +35,12 @@
<PropertyGroup>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<BaseOutputPath>..\..\bin\UnitTests</BaseOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<PackageProjectUrl>https://github.com/yallie/JsonServices</PackageProjectUrl>
<RepositoryUrl>https://github.com/yallie/JsonServices</RepositoryUrl>
<PackageTags>websockets json rpc events</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
</PropertyGroup>

Expand All @@ -18,12 +21,6 @@
<AssemblyName>JsonServices.Auth.SecureRemotePassword</AssemblyName>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
<BaseOutputPath>..\..\bin\</BaseOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="srp" Version="1.0.7" />
</ItemGroup>
Expand All @@ -42,6 +39,12 @@
<PropertyGroup>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<BaseOutputPath>..\..\bin\</BaseOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
Expand All @@ -50,4 +53,8 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
12 changes: 6 additions & 6 deletions src/JsonServices.Core.Tests/JsonServices.Core.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
<BaseOutputPath>..\..\bin\UnitTests</BaseOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
Expand All @@ -41,6 +35,12 @@
<PropertyGroup>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<BaseOutputPath>..\..\bin\UnitTests</BaseOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

</Project>
19 changes: 13 additions & 6 deletions src/JsonServices.Core/JsonServices.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<PackageProjectUrl>https://github.com/yallie/JsonServices</PackageProjectUrl>
<RepositoryUrl>https://github.com/yallie/JsonServices</RepositoryUrl>
<PackageTags>websockets json rpc events</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
</PropertyGroup>

Expand All @@ -18,12 +21,6 @@
<AssemblyName>JsonServices</AssemblyName>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
<BaseOutputPath>..\..\bin</BaseOutputPath>
</PropertyGroup>

<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
Expand All @@ -38,6 +35,12 @@
<PropertyGroup>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<BaseOutputPath>..\..\bin</BaseOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
Expand All @@ -46,4 +49,8 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<PackageProjectUrl>https://github.com/yallie/JsonServices</PackageProjectUrl>
<RepositoryUrl>https://github.com/yallie/JsonServices</RepositoryUrl>
<PackageTags>websockets json rpc events</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
</PropertyGroup>

Expand All @@ -18,12 +21,6 @@
<AssemblyName>JsonServices.Serialization.Newtonsoft</AssemblyName>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
<BaseOutputPath>..\..\bin</BaseOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
</ItemGroup>
Expand All @@ -42,6 +39,12 @@
<PropertyGroup>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<BaseOutputPath>..\..\bin</BaseOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
Expand All @@ -50,4 +53,8 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<PackageProjectUrl>https://github.com/yallie/JsonServices</PackageProjectUrl>
<RepositoryUrl>https://github.com/yallie/JsonServices</RepositoryUrl>
<PackageTags>websockets json rpc events</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
</PropertyGroup>

Expand All @@ -18,12 +21,6 @@
<AssemblyName>JsonServices.Serialization.ServiceStack</AssemblyName>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
<BaseOutputPath>..\..\bin</BaseOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ServiceStack.Text" Version="5.4.0" />
</ItemGroup>
Expand All @@ -42,6 +39,12 @@
<PropertyGroup>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<BaseOutputPath>..\..\bin</BaseOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
Expand All @@ -50,4 +53,8 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<PackageProjectUrl>https://github.com/yallie/JsonServices</PackageProjectUrl>
<RepositoryUrl>https://github.com/yallie/JsonServices</RepositoryUrl>
<PackageTags>websockets json rpc events</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net461</TargetFrameworks>
</PropertyGroup>

Expand All @@ -18,12 +21,6 @@
<AssemblyName>JsonServices.Serialization.ServiceStack4</AssemblyName>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
<BaseOutputPath>..\..\bin</BaseOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ServiceStack.Text" Version="4.0.33" />
</ItemGroup>
Expand Down Expand Up @@ -51,6 +48,12 @@
<PropertyGroup>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<BaseOutputPath>..\..\bin</BaseOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
Expand All @@ -59,4 +62,8 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<PackageProjectUrl>https://github.com/yallie/JsonServices</PackageProjectUrl>
<RepositoryUrl>https://github.com/yallie/JsonServices</RepositoryUrl>
<PackageTags>websockets json rpc events</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
</PropertyGroup>

Expand All @@ -18,16 +21,6 @@
<AssemblyName>JsonServices.Serialization.SystemTextJson</AssemblyName>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net461' ">
<DefineConstants>$(DefineConstants);NET_461</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
<BaseOutputPath>..\..\bin</BaseOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Text.Json" Version="4.7.2" />
</ItemGroup>
Expand All @@ -43,9 +36,19 @@
</PackageReference>
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net461' ">
<DefineConstants>$(DefineConstants);NET_461</DefineConstants>
</PropertyGroup>

<PropertyGroup>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<BaseOutputPath>..\..\bin</BaseOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
Expand All @@ -54,4 +57,8 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
<NoWarn>$(NoWarn);SYSLIB0011</NoWarn>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
<BaseOutputPath>..\..\bin\UnitTests</BaseOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
Expand All @@ -45,6 +39,12 @@
<PropertyGroup>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<BaseOutputPath>..\..\bin\UnitTests</BaseOutputPath>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>Full</DebugType>
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

</Project>
Loading

0 comments on commit f99cae8

Please sign in to comment.