diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index a3ac3c0..cf9fe7c 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -186,8 +186,14 @@ jobs: fi # Check if we have the necessary files - if [ -f "Cargo.toml" ] && [ -d "debian" ]; then - echo "✅ Found Cargo.toml and debian directory" + if [ -f "Cargo.toml" ]; then + echo "✅ Found Cargo.toml" + + # Create debian directory if it doesn't exist + if [ ! -d "debian" ]; then + echo "📁 Creating debian directory structure..." + mkdir -p debian + fi # Ensure Debian scripts are executable echo "Setting executable permissions on Debian scripts..." @@ -280,7 +286,6 @@ jobs: else echo "❌ Missing required files:" [ -f "Cargo.toml" ] || echo " - Cargo.toml" - [ -d "debian" ] || echo " - debian/ directory" exit 1 fi