Skip to content

Update README.md

Update README.md #87

Workflow file for this run

name: .NET Core CI
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.x.x
- name: Build with dotnet
run: dotnet build LiqPaySDK/LiqPay.SDK.sln --configuration Release -p:Version=$(date +%Y.%m.%d%H.%M%S)
shell: bash
- name: Run tests
run: dotnet test LiqPaySDK/LiqPay.SDK.Tests/LiqPay.SDK.Tests.csproj
- name: Install NuGet client
uses: nuget/setup-nuget@v1
- name: Add private GitHub registry
run: nuget source Add -Name "github" -Source https://nuget.pkg.github.com/jtone123/index.json -UserName jtone123 -Password ${{secrets.GITHUB_TOKEN}}
- name: Publish Nuget to GitHub registry
run: dotnet nuget push LiqPaySDK/LiqPay.SDK/bin/Release/*.nupkg --source "github" --api-key ${{secrets.GITHUB_TOKEN}} --skip-duplicate
shell: bash
- name: Publish SourceLink SNuget to GitHub registry
run: dotnet nuget push LiqPaySDK/LiqPay.SDK/bin/Release/*.snupkg --source "github" --api-key ${{secrets.GITHUB_TOKEN}} --skip-duplicate
shell: bash
- name: Publish Nuget to Nuget.org
run: dotnet nuget push LiqPaySDK/LiqPay.SDK/bin/Release/*.nupkg --api-key ${{secrets.NUGETSECRET}} --source https://api.nuget.org/v3/index.json --skip-duplicate
shell: bash
- name: Publish SourceLink SNuget to Nuget.org
run: dotnet nuget push LiqPaySDK/LiqPay.SDK/bin/Release/*.snupkg --api-key ${{secrets.NUGETSECRET}} --source https://api.nuget.org/v3/index.json --skip-duplicate
shell: bash