arbeidstilsynet/Check if version is published on NuGet
Checks if the given package version is already published on a given source
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 1, 2026
- License
- MIT
Pinned Snippet
uses: arbeidstilsynet/action-nuget-check-published@c706392290e42d3ee19cf8c22be9678c716703e0 # v2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| name | The package name | yes | — |
| version | The package version | yes | — |
| source-feed | The source feed to check against. Must match a key in your `nuget.config`. | — | nuget.org |
| dotnet-version | The version of dotnet to use | — | 10.0.x |
| config-file | Optional NuGet.config location, if your NuGet.config isn't located in the root of the repo. | — | — |
Outputs
| name | description |
|---|---|
| published | true if the version is already published, false otherwise |
| last_version | The last stable version published on the source feed (empty if none) |
| last_prerelease_version | The last prerelease version published on the source feed (empty if none) |