Skip to content

Commit 3f72ea1

Browse files
Update unlist-nuget.yml
removed version input
1 parent 8dfbc13 commit 3f72ea1

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/unlist-nuget.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: Unlist NuGet
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
version:
7-
description: 'Version to unlist'
8-
required: true
9-
type: string
105
# release:
116
# types: [deleted]
127

@@ -24,14 +19,11 @@ jobs:
2419
steps:
2520
- name: Checkout code
2621
uses: actions/checkout@v4
27-
28-
- name: Debug version input
29-
run: echo "Version to unlist: ${{ github.event.release.tag_name || github.event.inputs.version }}"
3022

3123
# Unlist
3224
- name: Unlist Deleted Tag
3325
uses: darenm/unlist-nuget@v1
3426
with:
3527
NUGET_PACKAGE: ${{ env.PROJECT_NAME }} # Full Package ID
36-
VERSION_REGEX: ${{ github.event.release.tag_name || github.event.inputs.version }}
28+
VERSION_REGEX: ${{ github.event.release.tag_name }}
3729
NUGET_KEY: ${{ secrets.NUGET_API_KEY }} # nuget.org API key

0 commit comments

Comments
 (0)