Skip to content

Commit

Permalink
Merge pull request #9 from Lombiq/issue/HAST-175
Browse files Browse the repository at this point in the history
HAST-175: NuGet publishing
  • Loading branch information
sarahelsaig authored Jul 25, 2023
2 parents fd7abe5 + 6c6271d commit a72eee0
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: Create Jira issues for community activities

on:
discussion:
types: created
types: [created]
issues:
types: opened
types: [opened]
pull_request:
types: opened
types: [opened]

jobs:
call-publish-workflow:
create-jira-issues-for-community-activities:
name: Create Jira issues for community activities
uses: Lombiq/GitHub-Actions/.github/workflows/create-jira-issues-for-community-activities.yml@dev
secrets:
JIRA_BASE_URL: ${{ secrets.DEFAULT_JIRA_BASE_URL }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Publish to NuGet

on:
push:
tags:
- v*

jobs:
publish-nuget:
name: Publish to NuGet
uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev
secrets:
API_KEY: ${{ secrets.DEFAULT_NUGET_PUBLISH_API_KEY }}
11 changes: 11 additions & 0 deletions .github/workflows/validate-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Validate Pull Request

on:
pull_request:

jobs:
validate-pull-request:
name : Validate Pull Request
uses: Lombiq/GitHub-Actions/.github/workflows/validate-submodule-pull-request.yml@dev
with:
repository: Lombiq/Hastlayer-SDK
8 changes: 0 additions & 8 deletions .github/workflows/verify-submodule-pull-request.yml

This file was deleted.

1 change: 0 additions & 1 deletion Lombiq.Arithmetics.Tests/Lombiq.Arithmetics.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<OutputType>Library</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<None Remove="xunit.runner.json" />
Expand Down
32 changes: 0 additions & 32 deletions Lombiq.Arithmetics.Tests/Properties/AssemblyInfo.cs

This file was deleted.

20 changes: 18 additions & 2 deletions Lombiq.Arithmetics.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>Library</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Authors>Lombiq Technologies</Authors>
<Copyright>Copyright © 2017, Lombiq Technologies Ltd.</Copyright>
<Title>Lombiq Arithmetics</Title>
<Description>Next-generation arithmetic implementations, improved floating point number types for .NET, written in C#. Use unum and posit for better answers with fewer bits. See the project website for detailed documentation.</Description>
<PackageIcon>NuGetIcon.png</PackageIcon>
<PackageTags>Lombiq;Hastlayer;FPGA;HardwareAcceleration;Performance;Arithmetic;FloatingPoint;Posit;Unum</PackageTags>
<RepositoryUrl>https://github.com/Lombiq/Arithmetics</RepositoryUrl>
<PackageProjectUrl>https://github.com/Lombiq/Arithmetics</PackageProjectUrl>
<PackageLicenseFile>License.md</PackageLicenseFile>
</PropertyGroup>

<ItemGroup>
<None Include="License.md" Pack="true" PackagePath="" />
<None Include="Readme.md" />
<None Include="NuGetIcon.png" Pack="true" PackagePath="" />
</ItemGroup>

<ItemGroup>
<Compile Remove="Lombiq.Arithmetics.Tests\**" />
<EmbeddedResource Remove="Lombiq.Arithmetics.Tests\**" />
<None Remove="Lombiq.Arithmetics.Tests\**" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
</ItemGroup>
Expand Down
Binary file added NuGetIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 0 additions & 32 deletions Properties/AssemblyInfo.cs

This file was deleted.

2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Lombiq Arithmetics

[![Lombiq.Arithmetics NuGet](https://img.shields.io/nuget/v/Lombiq.Arithmetics?label=Lombiq.Arithmetics)](https://www.nuget.org/packages/Lombiq.Arithmetics/)

## About

[Next-generation arithmetic](https://posithub.org/) implementations, improved floating point number types for .NET, written in C#. Includes the following number types:
Expand Down

0 comments on commit a72eee0

Please sign in to comment.