Skip to content

Commit 4023a47

Browse files
committed
Fix bash syntax error in YUM repository conditional structure
1 parent 46fe080 commit 4023a47

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

.github/scripts/download_packages.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,12 +376,9 @@ if [ "$GOT_RPM" = "1" ]; then
376376
gpg --default-key "$GPG_FINGERPRINT" --detach-sign --armor repodata/repomd.xml 2>/dev/null || true
377377
fi
378378

379-
popd >/dev/null
380-
else
381-
echo " No RPM files found in directory"
382-
fi
379+
popd >/dev/null
383380
else
384-
echo " Directory does not exist: $POOL"
381+
echo "Skipping $POOL: directory not found or no RPM files"
385382
fi
386383
done
387384

.github/workflows/nextjs.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -101,22 +101,6 @@ jobs:
101101
run: ${{ steps.detect-package-manager.outputs.runner }} next build
102102
- name: Download DocumentDB packages from latest release
103103
run: .github/scripts/download_packages.sh
104-
- name: Debug output structure
105-
run: |
106-
echo "Contents of out directory:"
107-
find out -type f | head -30
108-
echo ""
109-
echo "APT repository structure:"
110-
ls -la out/deb/ 2>/dev/null || echo "No deb directory found"
111-
echo ""
112-
echo "APT repository pools:"
113-
ls -la out/deb/pool/ 2>/dev/null || echo "No pool directory found"
114-
echo ""
115-
echo "YUM repository structure:"
116-
ls -la out/rpm/ 2>/dev/null || echo "No rpm directory found"
117-
echo ""
118-
echo "Direct download packages:"
119-
ls -la out/packages/*.{deb,rpm} 2>/dev/null || echo "No packages found"
120104
- name: Upload artifact
121105
uses: actions/upload-pages-artifact@v3
122106
with:

0 commit comments

Comments
 (0)