Skip to content

Merge pull request #17 from B3zaleel/extract-schema #13

Merge pull request #17 from B3zaleel/extract-schema

Merge pull request #17 from B3zaleel/extract-schema #13

Workflow file for this run

name: Publish to Nuget
on:
push:
branches:
- master
jobs:
publish:
name: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- id: tag
uses: Viostream/github-tag-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Write out version
run: |
version=${{ steps.tag.outputs.new_tag }}
sed -i 's|<Version>0.0.1</Version>|<Version>'${version#v}'</Version>|' DbUp.Snowflake.csproj
- uses: rohith/publish-nuget@v2
with:
NUGET_KEY: ${{ secrets.NUGET_API_KEY }}
PACKAGE_NAME: DbUp.Snowflake
PROJECT_FILE_PATH: DbUp.Snowflake.csproj
TAG_COMMIT: false