Skip to content

Commit 1eb18c6

Browse files
authored
Merge pull request #42 from open-olive/SIDE-1085
[SIDE-1085] Publish LDK to NuGet
2 parents 98f1e99 + fe6847a commit 1eb18c6

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

.github/workflows/nuget.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: NuGet Publish
2+
3+
on:
4+
release:
5+
types: [ published ]
6+
7+
defaults:
8+
run:
9+
working-directory: ldk/csharp
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-dotnet@v1
17+
with:
18+
dotnet-version: '3.1.x'
19+
- run: dotnet build OliveHelpsLDK
20+
- uses: rohith/publish-nuget@v2
21+
name: Publish to Nuget
22+
with:
23+
PROJECT_FILE_PATH: ldk/csharp/OliveHelpsLDK/OliveHelpsLDK/OliveHelpsLDK.csproj
24+
TAG_COMMIT: false
25+
NUGET_KEY: ${{ secrets.NUGET_API_KEY }}
26+
INCLUDE_SYMBOLS: true

ldk/csharp/OliveHelpsLDK/OliveHelpsLDK/OliveHelpsLDK.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<LangVersion>default</LangVersion>
66
<PackageVersion>2.0.0-alpha</PackageVersion>
7+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
8+
<Title>Olive Helps LDK</Title>
9+
<Authors>rseviora-oliveai</Authors>
10+
<Description>The Loop Development Kit for Olive Helps</Description>
11+
<PackageProjectUrl>https://open-olive.github.io/olive-helps/</PackageProjectUrl>
12+
<PackageTags>olive olivehelps loop loops loop-development-kit ldk sdk</PackageTags>
713
</PropertyGroup>
814

915
<ItemGroup>

ldk/node/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{
22
"name": "@oliveai/ldk",
33
"version": "2.0.0-alpha",
4-
"description": "The Loop Development Kit for Sidekick.",
4+
"description": "The Loop Development Kit for Olive Helps.",
55
"author": "Olive",
66
"copyright": "Copyright 2020 Olive",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/open-olive/loop-development-kit-node.git"
9+
"url": "https://github.com/open-olive/loop-development-kit.git",
10+
"directory": "ldk/node"
1011
},
12+
"homepage": "https://open-olive.github.io/loop-development-kit/ldk/node",
1113
"license": "MIT",
1214
"keywords": [
1315
"olive",

0 commit comments

Comments
 (0)