Update bindings to call IDisposable.Dispose by default #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Nuget Package | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
name: build, pack & publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '6.0' | |
# Publish | |
- name: publish on version change | |
id: publish_nuget | |
uses: rohith/publish-nuget@v2 | |
with: | |
# Filepath of the project to be packaged, relative to root of repository | |
PROJECT_FILE_PATH: 'ManualDi.Main/ManualDi.Main.csproj' | |
# Regex pattern to extract version info in a capturing group | |
VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$ | |
# Flag to toggle git tagging, enabled by default | |
TAG_COMMIT: true | |
# Format of the git tag, [*] gets replaced with actual version | |
TAG_FORMAT: v* | |
# API key to authenticate with NuGet server | |
NUGET_KEY: ${{secrets.NUGET_API_KEY}} |