Skip to content

publish-snapshot.yml: fix dotnet version #4

publish-snapshot.yml: fix dotnet version

publish-snapshot.yml: fix dotnet version #4

name: Publish Snapshot to NuGet
# ONLY push, not PRs.
# ONLY main, not release branch.
on:
push:
branches: [ "main" ]
jobs:
publish-snapshot:
runs-on: ubuntu-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"