Fix artifacts preparation - correct package file path
All checks were successful
Build libfuse / Build and Test (push) Successful in 1m26s
All checks were successful
Build libfuse / Build and Test (push) Successful in 1m26s
- Update artifacts step to look for package in correct location - Add debugging to find where package file is actually located - Fix dpkg -I command to use full path to package file - The package is created in /workspace/particle-os/libfuse/fuse-3.10.0/ - But artifacts step was looking in current directory This should fix the 'Package not found!' error in artifacts preparation.
This commit is contained in:
parent
9f1111de12
commit
aa6e6d3e27
1 changed files with 11 additions and 4 deletions
|
|
@ -205,9 +205,16 @@ jobs:
|
||||||
echo "Preparing artifacts for download..."
|
echo "Preparing artifacts for download..."
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
|
|
||||||
# Copy the built package
|
# Debug: Check where the package file is located
|
||||||
if [ -f libfuse3-3_3.10.0-1_amd64.deb ]; then
|
echo "Looking for package file..."
|
||||||
cp libfuse3-3_3.10.0-1_amd64.deb artifacts/
|
find /workspace -name "libfuse3-3_3.10.0-1_amd64.deb" 2>/dev/null || echo "Package file not found"
|
||||||
|
echo "Current directory: $(pwd)"
|
||||||
|
echo "Contents of /workspace/particle-os/libfuse/fuse-3.10.0/:"
|
||||||
|
ls -la /workspace/particle-os/libfuse/fuse-3.10.0/ || echo "Directory not found"
|
||||||
|
|
||||||
|
# Copy the built package from the correct location
|
||||||
|
if [ -f /workspace/particle-os/libfuse/fuse-3.10.0/libfuse3-3_3.10.0-1_amd64.deb ]; then
|
||||||
|
cp /workspace/particle-os/libfuse/fuse-3.10.0/libfuse3-3_3.10.0-1_amd64.deb artifacts/
|
||||||
echo "✅ Package copied to artifacts directory"
|
echo "✅ Package copied to artifacts directory"
|
||||||
ls -la artifacts/
|
ls -la artifacts/
|
||||||
|
|
||||||
|
|
@ -222,7 +229,7 @@ jobs:
|
||||||
echo "- **Commit**: $(git rev-parse --short HEAD 2>/dev/null || echo 'Unknown')" >> artifacts/BUILD_INFO.md
|
echo "- **Commit**: $(git rev-parse --short HEAD 2>/dev/null || echo 'Unknown')" >> artifacts/BUILD_INFO.md
|
||||||
echo "" >> artifacts/BUILD_INFO.md
|
echo "" >> artifacts/BUILD_INFO.md
|
||||||
echo "## Package Details" >> artifacts/BUILD_INFO.md
|
echo "## Package Details" >> artifacts/BUILD_INFO.md
|
||||||
dpkg -I libfuse3-3_3.10.0-1_amd64.deb >> artifacts/BUILD_INFO.md
|
dpkg -I /workspace/particle-os/libfuse/fuse-3.10.0/libfuse3-3_3.10.0-1_amd64.deb >> artifacts/BUILD_INFO.md
|
||||||
|
|
||||||
# Create archive for easy download
|
# Create archive for easy download
|
||||||
tar -czf libfuse3-3-build-$(date +%Y%m%d-%H%M%S).tar.gz artifacts/
|
tar -czf libfuse3-3-build-$(date +%Y%m%d-%H%M%S).tar.gz artifacts/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue