arbeidstilsynet/Check if version is published on NuGet

Checks if the given package version is already published on a given source

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 1, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: arbeidstilsynet/action-nuget-check-published@c706392290e42d3ee19cf8c22be9678c716703e0 # v2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
nameThe package nameyes
versionThe package versionyes
source-feedThe source feed to check against. Must match a key in your `nuget.config`.nuget.org
dotnet-versionThe version of dotnet to use10.0.x
config-fileOptional NuGet.config location, if your NuGet.config isn't located in the root of the repo.
namedescription
publishedtrue if the version is already published, false otherwise
last_versionThe last stable version published on the source feed (empty if none)
last_prerelease_versionThe last prerelease version published on the source feed (empty if none)