Skip to content
package

GitHub Action

nuget pre-release detection

v1.5.1 Latest version

nuget pre-release detection

package

nuget pre-release detection

This action detects pre-release NuGet packages for all projects linked to a given solution file

Installation

Copy and paste the following snippet into your .yml file.

              

- name: nuget pre-release detection

uses: Kevin-Bronsdijk/nuget-pre-release-packages-detection-action@v1.5.1

Learn more about this action in Kevin-Bronsdijk/nuget-pre-release-packages-detection-action

Choose a version

Nuget pre-release packages check

What is it?

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. 

javscript-action status

How to use it?

Configure the GitHub action

Inputs

solution-file-name

Required The name of the solution file. Example "solution.sln".

solution-path

Required The directory where the solution file exists.

Outputs

found-pre-release

A boolean indicator used to tell that a pre-release package was found.

Example usage

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 }}"

Contact and bug reports

Feel free to open an issue on this GitHub project.