mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Auto unlist alpha
This commit is contained in:
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@@ -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')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user