Skip to content

github workfow updates #1

github workfow updates

github workfow updates #1

Workflow file for this run

name: Build and Publish NuGet Package
on:
release:
types:
- created
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Main Repository
uses: actions/checkout@v2
with:
repository: 'DbSyncKit/DbSyncKit'
- name: Pull & update submodules recursively
run: |

Check failure on line 19 in .github/workflows/nuget_publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nuget_publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
- name: Build and Publish DbSyncKit.Templates.PostgreSQL
run: |
cd DbSyncKit.Templates.PostgreSQL/src
dotnet build -c Release
dotnet pack -c Release
dotnet nuget push bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_DEPLOY }}