Skip to content

Commit fbcc3d0

Browse files
committed
2 parents 63204f7 + 19c5e7f commit fbcc3d0

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-flatcontainer/SimpleInjection/index.json | jq -r '.versions | last')
30+
LATEST_VERSION=$(curl -s "https://api.nuget.org/v3-flatcontainer/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)