Skip to content

Commit 3e69b26

Browse files
authored
Update nuget.yml
1 parent 323c193 commit 3e69b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Get the latest published version from NuGet
2828
id: get_latest_version
2929
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')
30+
LATEST_VERSION=$(curl -s "https://api.nuget.org/v3/registration5-gz-semver2/simpleinjection/index.json" | jq -r '.versions[-1]')
3131
echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
3232
3333
- name: Compare versions

0 commit comments

Comments
 (0)