Skip to content

Merge #510

Merge #510 #57

Workflow file for this run

name: Publish to Nuget
on:
push:
tags:
- v*
jobs:
publish:
name: Build, pack & publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check release validity
run: sh .github/scripts/check-release.sh
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 3.1.101
- name: Pack
run: dotnet pack src/Meilisearch/Meilisearch.csproj -c Release -o src/Meilisearch/bin/Release
- name: Publish
run: dotnet nuget push src/Meilisearch/bin/Release/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json