Skip to content

Bump System.Text.Json from 7.0.3 to 8.0.5 #74

Bump System.Text.Json from 7.0.3 to 8.0.5

Bump System.Text.Json from 7.0.3 to 8.0.5 #74

Workflow file for this run

name: Build and deploy
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Build
run: dotnet build --configuration Release
- name: Pack
run: dotnet pack --no-build --configuration Release PAYNLSDK/PayNLSdk.csproj --output .
- name: Push Nuget
if: ${{ github.ref == 'refs/heads/main' }}
run: |
dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_PUBLISH_KEY }} --skip-duplicate
dotnet nuget push *.snupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_PUBLISH_KEY }} --skip-duplicate