Skip to content

Commit b70f6d8

Browse files
JakubKJakub Kuniszewski
andauthored
Feature/entry version sdk (#1)
* Add basic http client for logdash REST API * Add logdash builder * Add workflow * Add nuget metadata * Fix bugs, add examples * Add SequenceNumber * Add colors * Set default verbose * Add README * Update readme * Update README * Wrap timestamp with [ ] * Run workflow on push to main * Refactor on CR changes * Refactor to match contract from other SDKs * Update readme * CR changes * Fix typo in url --------- Co-authored-by: Jakub Kuniszewski <you@example.com>
1 parent 891363c commit b70f6d8

27 files changed

Lines changed: 987 additions & 1 deletion
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish Logdash dotnet client to NuGet
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
build-publish:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Install .NET 9.0.x
18+
uses: actions/setup-dotnet@v4
19+
with:
20+
dotnet-version: 9.0.x
21+
22+
- name: Publish to NuGet
23+
run: |
24+
find . -name '*.nupkg' -exec dotnet nuget push "{}" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate \;

0 commit comments

Comments
 (0)