Skip to content

Merge pull request #548 from mk3008/545-request-support-for-parsing-u… #229

Merge pull request #548 from mk3008/545-request-support-for-parsing-u…

Merge pull request #548 from mk3008/545-request-support-for-parsing-u… #229

Workflow file for this run

name: Publish - Nuget
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Build
run: dotnet build --configuration Release
working-directory: ./src/Carbunql
- name: Generate nuget package.
run: dotnet pack --configuration Release -o nupkg
working-directory: ./src/Carbunql
- name: Publish to nuget
run: find . -type f -name *.nupkg -print0 | xargs -0 -I pkg dotnet nuget push pkg -k $nuget_api_key -s "https://api.nuget.org/v3/index.json" --skip-duplicate
env:
nuget_api_key: ${{ secrets.NUGET_API_KEY }}
working-directory: ./src/Carbunql/nupkg