Skip to content

fix secret name in publish-snapshot workflow #3

fix secret name in publish-snapshot workflow

fix secret name in publish-snapshot workflow #3

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: '0.7.x'
- name: Publish Snapshot to NuGet
env:
NugetKey: ${{ secrets.NUGETKEY }}
shell: pwsh
run: ./Tool/Publish-Solution.ps1 -Snapshot -NugetKey "$env:NugetKey"