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 323c193 commit 3e69b26Copy full SHA for 3e69b26
.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/registration5-gz-semver2/simpleinjection/index.json" | jq -r '.items[0].items[0].catalogEntry.version')
+ LATEST_VERSION=$(curl -s "https://api.nuget.org/v3/registration5-gz-semver2/simpleinjection/index.json" | jq -r '.versions[-1]')
31
echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
32
33
- name: Compare versions
0 commit comments