We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28aa365 commit 6a4cabcCopy full SHA for 6a4cabc
.github/workflows/nuget.yml
@@ -27,7 +27,7 @@ jobs:
27
- name: Get the latest published version from NuGet
28
id: get_latest_version
29
run: |
30
- LATEST_VERSION=$(curl -s https://api.nuget.org/v3-flatcontainer/SimpleInjection/index.json | jq -r '.versions | last')
+ LATEST_VERSION=$(curl -s "https://api.nuget.org/v3/registration5-gz-semver2/simpleinjection/index.json" | jq -r '.items[0].items[-1].catalogEntry.version')
31
echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
32
33
- name: Compare versions
0 commit comments