Skip to content

Commit 6132705

Browse files
Update unlist-nuget.yml
Allow to enter the version to unlist
1 parent e5f51bd commit 6132705

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/unlist-nuget.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
uses: darenm/unlist-nuget@v1
2626
with:
2727
NUGET_PACKAGE: ${{ env.PROJECT_NAME }} # Full Package ID
28-
VERSION_REGEX: ${{ github.event.release.tag_name }} # Regex pattern to match version
29-
NUGET_KEY: ${{ secrets.NUGET_API_KEY }} # nuget.org API key
28+
VERSION_REGEX: ${{ github.event.release.tag_name || github.event.inputs.version }}
29+
NUGET_KEY: ${{ secrets.NUGET_API_KEY }} # nuget.org API key

0 commit comments

Comments
 (0)