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