Skip to content

Commit f7e198f

Browse files
Added unlist package action
1 parent cf66fb7 commit f7e198f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Unlist NuGet Package
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
package_id:
7+
description: "NuGet package ID (e.g., Hyperbee.xxx)"
8+
required: true
9+
type: string
10+
package_version:
11+
description: "Exact version (e.g., v1.2.1-alpha-ge4caaff67a)"
12+
required: true
13+
type: string
14+
dry_run:
15+
description: "If true, shows what would happen"
16+
required: false
17+
default: false
18+
type: boolean
19+
20+
permissions:
21+
contents: read
22+
23+
run-name: "Unlist · ${{ inputs.package_id }} · ${{ inputs.package_nuget }}"
24+
25+
jobs:
26+
unlist:
27+
uses: Stillpoint-Software/shared-workflows/.github/workflows/unlist-package.yml@main
28+
secrets: inherit
29+
with:
30+
package_id: ${{ inputs.package_id }}
31+
package_version: ${{ inputs.package_version }}
32+
dry_run: ${{ inputs.dry_run }}

Hyperbee.Templating.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
2525
.github\workflows\pack_publish.yml = .github\workflows\pack_publish.yml
2626
.github\workflows\run_tests.yml = .github\workflows\run_tests.yml
2727
.github\workflows\issue_branch.yml = .github\workflows\issue_branch.yml
28+
.github\workflows\unlist_package.yml = .github\workflows\unlist_package.yml
2829
EndProjectSection
2930
EndProject
3031
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hyperbee.Templating.Tests", "test\Hyperbee.Templating.Tests\Hyperbee.Templating.Tests.csproj", "{97886205-1467-4EE6-B3DA-496CA3D086E4}"

0 commit comments

Comments
 (0)