Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,21 @@ jobs:
run: dotnet test
- name: stop weaviate
run: /bin/bash ci/stop_weaviate.sh ${{ env.WEAVIATE }}

build-and-publish:
name: Build and publish to Nuget
needs: [integration-tests]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup dotnet 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- name: Install dependencies and build
run: dotnet pack -c Release -o out src/Weaviate.Client/
- name: Push generated package to GitHub registry
run: dotnet nuget push ./out/*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json