Reverse EOS detection logic in workflow

Changed the logic to include all distributions except those marked as EOS (End of Service), rather than only including those explicitly marked as "supported". This makes the workflow more inclusive and reduces maintenance overhead.
This commit is contained in:
Igor Pecovnik
2025-12-28 18:36:13 +01:00
parent c8e3522f8c
commit 09db4487ee

View File

@@ -41,9 +41,9 @@ jobs:
for dist_file in armbian-build/config/distributions/*/support; do
[ -f "$dist_file" ] || continue
# Check if distribution is marked as "supported" (not "eos" or unsupported)
if ! grep -q "supported" "$dist_file"; then
echo "::debug::Skipping $(basename $(dirname $dist_file)) - not marked as supported"
# Skip distribution if marked as EOS (End of Service)
if grep -qi "eos" "$dist_file"; then
echo "::debug::Skipping $(basename $(dirname $dist_file)) - marked as EOS"
continue
fi
@@ -96,11 +96,9 @@ jobs:
arm64)
docker_platform="linux/arm64"
;;
armhf)
docker_platform="linux/arm/v7"
;;
riscv64)
docker_platform="linux/riscv64"
armhf|riscv64)
echo "::debug::Skipping $arch - fragile. Will use in the future or drop entirely"
continue
;;
*)
echo "::warning::Unknown architecture $arch, skipping"
@@ -265,8 +263,8 @@ jobs:
for dist_file in armbian-build/config/distributions/*/support; do
[ -f "$dist_file" ] || continue
# Check if distribution is marked as "supported"
if ! grep -q "supported" "$dist_file"; then
# Skip distribution if marked as EOS (End of Service)
if grep -qi "eos" "$dist_file"; then
continue
fi