This action detects pre-release NuGet packages for all projects linked to a given solution file. Pre-release packages are often Alpha packages only to be used when developing however avoided when running production code.
Required The name of the solution file. Example "solution.sln".
Required The directory where the solution file exists.
A boolean indicator used to tell that a pre-release package was found.
jobs:
precheck:
runs-on: ubuntu-latest
steps:
- uses: kevin-bronsdijk/nuget-pre-release-packages-detection-action@v2.0
id: nugetprerelease
with:
solution-file-name: 'devslice.sln'
solution-path: '/home/'
- run: echo "result ${{ steps.nugetprerelease.outputs.found-pre-release }}"Feel free to open an issue on this GitHub project.