Skip to content

Merge pull request #236 from Mangopay/feature/add-payout-payment-ref #48

Merge pull request #236 from Mangopay/feature/add-payout-payment-ref

Merge pull request #236 from Mangopay/feature/add-payout-payment-ref #48

Workflow file for this run

name: mangopay2-net-sdk-cd
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
dotnet: ['6.0.x']
name: dotnet ${{ matrix.dotnet }}
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Install Nuget
run: sudo apt-get install nuget
- name: Publish on Nuget
run: nuget push ./MangoPay.SDK/bin/Release/mangopay2-sdk.*.nupkg ${{ secrets.NUGET_API_KEY }} -Source ${{ secrets.NUGET_SOURCE }} -SkipDuplicate -Verbosity detailed