Skip to content

Commit c924648

Browse files
committed
fix nuget action
1 parent 1295a08 commit c924648

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/SimpleDataGrid/index.json" | jq -r '.versions[-1]')
30+
LATEST_VERSION=$(curl -s "https://api.nuget.org/v3-flatcontainer/SimpleDataGrid/index.json" | jq -r '.versions[0]')
3131
echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
3232
3333
- name: Compare versions

0 commit comments

Comments
 (0)