Auto unlist alpha

This commit is contained in:
Tigger Kindel
2023-06-08 07:57:27 -06:00
parent a82c88a444
commit 6edb1f411c

View File

@@ -71,3 +71,9 @@ jobs:
- name: Publish to NuGet.org
run: dotnet nuget push Terminal.Gui/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
- name: Unlist from NuGet.org if it's an alpha
run: dotnet nuget delete Terminal.Gui ${{ steps.gitversion.outputs.SemVer }} --api-key ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
if: contains(steps.gitversion.outputs.SemVer, 'alpha')