Skip to content

Merge pull request #209 from mk3008/208-dose-not-workparse-postgres-j… #56

Merge pull request #209 from mk3008/208-dose-not-workparse-postgres-j…

Merge pull request #209 from mk3008/208-dose-not-workparse-postgres-j… #56

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: 6.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