Skip to content

upgrade mongo driver version #25

upgrade mongo driver version

upgrade mongo driver version #25

name: Publish Nuget Package
on:
push:
tags:
- v*
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .Net SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.x
- name: Make Nuget Packages
run: dotnet pack MongoDB.Entities/MongoDB.Entities.csproj -c Release
- name: Publish To Nuget
run: dotnet nuget push MongoDB.Entities/bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}
- name: Create Release
uses: softprops/action-gh-release@v1
if: ${{ !contains(github.ref, 'beta') }}
with:
draft: false
name: ${{ github.ref_name }} Release
body_path: changelog.md