Skip to content

Commit a2ae3af

Browse files
committed
ci: Add debug step to nuget.yml workflow
1 parent c924648 commit a2ae3af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/nuget.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ 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[0]')
30+
echo "Debugging curl output for NuGet versions:"
31+
curl_output=$(curl -s "https://api.nuget.org/v3-flatcontainer/SimpleDataGrid/index.json")
32+
echo "$curl_output"
33+
LATEST_VERSION=$(echo "$curl_output" | jq -r '.versions[0]')
3134
echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
3235
3336
- name: Compare versions

0 commit comments

Comments
 (0)