Merge pull request #10 from ptixed/dependabot/nuget/Ptixed.Sql.Postgr… #20
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 to nuget | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
name: build, pack & publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: publish on version change | |
id: publish_nuget | |
uses: alirezanet/[email protected] | |
with: | |
PROJECT_FILE_PATH: Ptixed.Sql.SqlServer/Ptixed.Sql.SqlServer.csproj | |
PACKAGE_NAME: Ptixed.Sql | |
VERSION_FILE_PATH: Ptixed.Sql.SqlServer/Ptixed.Sql.SqlServer.csproj | |
VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$ | |
TAG_COMMIT: true | |
TAG_FORMAT: v* | |
NUGET_KEY: ${{secrets.NUGET_API_KEY}} | |
NUGET_SOURCE: https://api.nuget.org | |
INCLUDE_SYMBOLS: false |