Skip to content

Commit

Permalink
Added build action
Browse files Browse the repository at this point in the history
  • Loading branch information
StepanovNO committed Jul 19, 2023
1 parent 0ce1eaf commit b506eca
Show file tree
Hide file tree
Showing 9 changed files with 100 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: NuGet Generation

on:
push:
branches:
- master
pull_request:
types: [closed]
branches:
- master

jobs:
build:
runs-on: ubuntu-18.04
name: Update NuGet package
steps:

- name: Checkout repository
uses: actions/checkout@v1

- name: Setup .NET Core @ Latest
uses: actions/setup-dotnet@v1

- name: Build solution and generate NuGet package
run: dotnet restore && dotnet build -c release && dotnet pack -c release -o out

- name: publish StreamEvent.Pipe.Interface
id: publish_pipe_interface
uses: alirezanet/publish-nuget@v3.0.3
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: StreamEvent.Pipe.Interface/StreamEvent.Pipe.Interface.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}

- name: publish StreamEvent.Pipe.Implementation
id: publish_Pipe_Implementation
uses: alirezanet/publish-nuget@v3.0.3
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: StreamEvent.Pipe.Implementation/StreamEvent.Pipe.Implementation.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}

- name: publish StreamEvent.SharedStore.Redis
id: publish_SharedStore_Redis
uses: alirezanet/publish-nuget@v3.0.3
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: StreamEvent.SharedStore.Redis/StreamEvent.SharedStore.Redis.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}

#
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<LangVersion>11</LangVersion>
<Title>SSE .NET Core</Title>
<Authors>StepanovNO</Authors>
<Description>SSE implementation for ASP .NET Applications with distibuted message pipe support</Description>
<Copyright>(c) StepanovNO</Copyright>
<PackageProjectUrl>https://github.com/deadokman/EventStreamNet</PackageProjectUrl>
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://github.com/deadokman/EventStreamNet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>C#, SSE, ASP .NET</PackageTags>
<PackageReleaseNotes>First release</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -32,5 +42,12 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<None Update="icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

</Project>
Binary file added StreamEvent.Pipe.Implementation/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions StreamEvent.Pipe.Interface/StreamEvent.Pipe.Interface.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>11</LangVersion>
<Title>SSE .NET Core interfaces</Title>
<PackageIcon>icon.png</PackageIcon>
<Description>Iterfaces for SSE library</Description>
<Copyright>StepanovNO</Copyright>
<PackageProjectUrl>https://github.com/deadokman/EventStreamNet</PackageProjectUrl>
<RepositoryUrl>https://github.com/deadokman/EventStreamNet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>SSE, NET, ASP .NET</PackageTags>
<PackageReleaseNotes>Initial version</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
Expand All @@ -13,4 +22,11 @@
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" />
</ItemGroup>

<ItemGroup>
<None Update="icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

</Project>
Binary file added StreamEvent.Pipe.Interface/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions StreamEvent.SharedStore.Redis/StreamEvent.SharedStore.Redis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Title>SSE .NET Core Redis shared store</Title>
<Authors>StepanovNO</Authors>
<Description>Redis shared store implementation for SSE library</Description>
<Copyright>(c) StepanovNO</Copyright>
<PackageProjectUrl>https://github.com/deadokman/EventStreamNet</PackageProjectUrl>
<RepositoryUrl>https://github.com/deadokman/EventStreamNet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>SSE, ASP, NET, Redis</PackageTags>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
Expand All @@ -15,4 +24,11 @@
<ProjectReference Include="..\StreamEvent.Pipe.Interface\StreamEvent.Pipe.Interface.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

</Project>
Binary file added StreamEvent.SharedStore.Redis/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b506eca

Please sign in to comment.