We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 596a920 + 1115655 commit 8c1a637Copy full SHA for 8c1a637
action.sh
@@ -14,7 +14,8 @@ fi
14
15
# Fetch all K3s versions usable for the specified partial version.
16
# Even if the version is specific and complete, assume it is possibly partial.
17
-curl --silent --fail "${authz[@]}" "${GITHUB_API_URL}/repos/${REPO}/releases?per_page=999" |
+url="${GITHUB_API_URL}/repos/${REPO}/releases?per_page=999"
18
+curl --silent --fail --location "${authz[@]}" "$url" | \
19
jq '.[] | select(.prerelease==false) | .tag_name' >/tmp/versions.txt
20
21
echo "::group::All available K3s versions (unsorted)"
0 commit comments