From c41dc6278874370f48e2e0e93670184a33be35c1 Mon Sep 17 00:00:00 2001 From: Mario Di Vece <351978+mariodivece@users.noreply.github.com> Date: Fri, 12 Jan 2024 13:21:44 -0600 Subject: [PATCH] Update lib-ci.yml --- .github/workflows/lib-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lib-ci.yml b/.github/workflows/lib-ci.yml index 387c734c..abbef8fb 100644 --- a/.github/workflows/lib-ci.yml +++ b/.github/workflows/lib-ci.yml @@ -26,7 +26,7 @@ on: prerelease-versions-kept: description: 'The number of pre-release versions kept in the GitHub registry.' required: false - type: string + type: number default: 10 version-bump-level: description: 'The version component to bump after publishing.' @@ -71,5 +71,6 @@ jobs: uses: actions/delete-package-versions@v4 with: package-name: ${{ inputs.project-name }} + package-type: 'nuget' min-versions-to-keep: ${{ inputs.prerelease-versions-kept }} - delete-only-pre-release-versions: 'true' + delete-only-pre-release-versions: true