Skip to content

Commit 24cda3c

Browse files
committed
[SIDE-1085] add autopublication action
1 parent 0cbc3c3 commit 24cda3c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
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@v22
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

0 commit comments

Comments
 (0)