We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62149cc commit 6adba43Copy full SHA for 6adba43
1 file changed
.github/actions/build-website/action.yml
@@ -83,16 +83,17 @@ runs:
83
# Iterate through releases until we find one with library-docs.tar.gz
84
for TAG in $RELEASES; do
85
echo "Checking release: ${TAG}"
86
- if gh release download "${TAG}" \
+ DOWNLOAD_OUTPUT=$(gh release download "${TAG}" \
87
--repo ${{ github.repository }} \
88
--pattern "library-docs.tar.gz" \
89
- --dir /tmp 2>/dev/null; then
+ --dir /tmp 2>&1) && {
90
echo "Downloaded library docs from release: ${TAG}"
91
DOWNLOADED=true
92
break
93
- else
+ } || {
94
echo " No library-docs.tar.gz in ${TAG}, trying next..."
95
- fi
+ echo " Debug: ${DOWNLOAD_OUTPUT}"
96
+ }
97
done
98
99
if [ "$DOWNLOADED" = false ]; then
0 commit comments