Fix Debian package file location for upload
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 1m22s
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 1m22s
- Add debugging to show files in upload directory - Fix .deb file search with proper error handling - The .deb file should be in current directory from Docker mount - Add 2>/dev/null to prevent ls errors from breaking the workflow
This commit is contained in:
parent
7ad5a4c5cb
commit
a414059af0
1 changed files with 8 additions and 2 deletions
|
|
@ -125,13 +125,19 @@ jobs:
|
|||
cd /tmp/bootupd-sdboot
|
||||
echo "Uploading to Forgejo Debian Registry..."
|
||||
|
||||
# Debug: List files in current directory
|
||||
echo "Files in current directory:"
|
||||
ls -la
|
||||
echo "Looking for .deb files:"
|
||||
ls -la *.deb 2>/dev/null || echo "No .deb files found"
|
||||
|
||||
# Set Forgejo configuration
|
||||
FORGEJO_OWNER="particle-os"
|
||||
FORGEJO_DISTRIBUTION="trixie"
|
||||
FORGEJO_COMPONENT="main"
|
||||
|
||||
# Find the .deb file
|
||||
DEB_FILE=$(ls bootupd_*.deb | head -1)
|
||||
# Find the .deb file (it should be in the current directory from Docker mount)
|
||||
DEB_FILE=$(ls bootupd_*.deb 2>/dev/null | head -1)
|
||||
|
||||
if [ -z "$DEB_FILE" ]; then
|
||||
echo "❌ No .deb file found for upload"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue