We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 63204f7 + 19c5e7f commit fbcc3d0Copy full SHA for fbcc3d0
1 file changed
.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-flatcontainer/simpleinjection/index.json" | jq -r '.versions[-1]')
31
echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
32
33
- name: Compare versions
0 commit comments