Skip to content

Commit

Permalink
Orleans 3.0.0 support (#106)
Browse files Browse the repository at this point in the history
* Orleans 3.0.0 support

* Avoid extra build while publishing
  • Loading branch information
galvesribeiro authored Nov 1, 2019
1 parent 8af7ea5 commit eb301b4
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: dotnet test --no-build --configuration Release
- name: Pack
working-directory: src/SignalR.Orleans
run: dotnet pack --configuration Release
run: dotnet pack --configuration Release --no-build
- name: Push
working-directory: src/SignalR.Orleans/bin/Release
run: |
Expand Down
76 changes: 40 additions & 36 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,42 +1,46 @@
<Project>
<!-- Set the repository root into a variable -->
<PropertyGroup>
<SourceRoot>$(MSBuildThisFileDirectory)</SourceRoot>
</PropertyGroup>
<!-- Set the repository root into a variable -->
<PropertyGroup>
<SourceRoot>$(MSBuildThisFileDirectory)</SourceRoot>
</PropertyGroup>

<!-- Set common properties regarding assembly information and nuget packages -->
<PropertyGroup>
<Authors>Gutemberg Ribeiro, Clayton Lautier</Authors>
<Owners>Gutemberg Ribeiro, Clayton Lautier</Owners>
<Product>Orleans SignalR Backplane</Product>
<RepositoryUrl>https://github.com/OrleansContrib/SignalR.Orleans</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseUrl>https://github.com/dotnet/Orleans#license</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/OrleansContrib/SignalR.Orleans</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/dotnet/orleans/gh-pages/assets/logo_128.png</PackageIconUrl>
<PackageTags>Orleans Cloud-Computing Actor-Model Actors Distributed-Systems Real-Time SignalR C# .NET</PackageTags>
</PropertyGroup>
<!-- Set common properties regarding assembly information and nuget packages -->
<PropertyGroup>
<Authors>Gutemberg Ribeiro, Clayton Lautier</Authors>
<Owners>Gutemberg Ribeiro, Clayton Lautier</Owners>
<Product>Orleans SignalR Backplane</Product>
<RepositoryUrl>https://github.com/OrleansContrib/SignalR.Orleans</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/OrleansContrib/SignalR.Orleans</PackageProjectUrl>
<PackageIcon>logo_128.png</PackageIcon>
<PackageTags>Orleans Cloud-Computing Actor-Model Actors Distributed-Systems Real-Time SignalR C# .NET</PackageTags>
</PropertyGroup>

<!-- Common compile parameters -->
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);1701;1702;1705;1591</NoWarn>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<!-- Common compile parameters -->
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);1701;1702;1705;1591</NoWarn>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<!-- Shared Package Versions -->
<PropertyGroup>
<!-- vendors -->
<OrleansCoreVersion>3.0.0</OrleansCoreVersion>
<OrleansProvidersVersion>3.0.0</OrleansProvidersVersion>
<OrleansCodeGeneratorVersion>3.0.0</OrleansCodeGeneratorVersion>
<OrleansRuntimeAbstractionsVersion>3.0.0</OrleansRuntimeAbstractionsVersion>
<OrleansRuntimeVersion>3.0.0</OrleansRuntimeVersion>
<SignalRVersion>1.1.0</SignalRVersion>
</PropertyGroup>
<!-- Shared Package Versions -->
<PropertyGroup>
<!-- vendors -->
<OrleansCoreVersion>3.0.0</OrleansCoreVersion>
<OrleansProvidersVersion>3.0.0</OrleansProvidersVersion>
<OrleansCodeGeneratorVersion>3.0.0</OrleansCodeGeneratorVersion>
<OrleansRuntimeAbstractionsVersion>3.0.0</OrleansRuntimeAbstractionsVersion>
<OrleansRuntimeVersion>3.0.0</OrleansRuntimeVersion>
<SignalRVersion>1.1.0</SignalRVersion>
</PropertyGroup>

<ItemGroup>
<None Include="$(SourceRoot)assets/logo_128.png" Pack="true" Visible="false" PackagePath="/" />
</ItemGroup>
</Project>
Binary file added assets/logo_128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/SignalR.Orleans/SignalR.Orleans.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<PackageReleaseNotes></PackageReleaseNotes>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
<PackageVersion>1.5.0</PackageVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/SignalR.Orleans.Tests/SignalR.Orleans.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down

0 comments on commit eb301b4

Please sign in to comment.