Skip to content

fix JSON converter tests (resolves #166) #26

fix JSON converter tests (resolves #166)

fix JSON converter tests (resolves #166) #26

name: NuGet Snapshot
# ONLY push, not PRs.
# ONLY main, not release branch.
on:
push:
branches: [ "main" ]
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: CI-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: false
jobs:
publish-snapshot:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Publish Snapshot to NuGet
env:
NugetKey: ${{ secrets.NUGETKEY }}
shell: pwsh
run: |
.\Tool\Publish-Solution.ps1 -Snapshot -NugetKey "$env:NugetKey"