TableauSharp publishes prerelease NuGet packages from GitHub Actions.
NUGET_API_KEYrepository secret with permission to pushTableauSharp.- Passing CI on
master. - Completed Module Completion Gate for the module being released.
- A prerelease version, for example
0.1.0-alpha.1.
dotnet restore TableauSharp.sln
dotnet build TableauSharp.sln -c Release --no-restore
dotnet test TableauSharp.sln -c Release --no-build
dotnet pack src/TableauSharp/TableauSharp.csproj -c Release --no-build -p:PackageVersion=0.1.0-alpha.1 -o ./artifactsRun Publish to NuGet manually from GitHub Actions:
version: prerelease version, for example0.1.0-alpha.1dry_run:true
The workflow restores, builds, tests, packs, and uploads package artifacts without pushing to NuGet.
Run Publish to NuGet manually with:
version: prerelease version, for example0.1.0-alpha.1dry_run:false
The workflow fails before publishing if NUGET_API_KEY is missing.
The publish command uploads the .nupkg package and the matching .snupkg symbols package from the artifacts directory.
Maintainers can also publish by pushing a version tag:
git tag v0.1.0-alpha.1
git push origin v0.1.0-alpha.1Tags matching v*.*.* trigger the publish workflow. The package version is the tag name without the leading v.
Use prerelease versions until the SDK reaches a stable surface:
0.1.0-alpha.10.1.0-alpha.20.1.0-beta.1
Do not reuse a NuGet package version once it has been published.