Replace workflow with v2: bypass Forgejo caching issues and remove all GitHub Actions dependencies

This commit is contained in:
robojerk 2025-07-15 09:08:48 -07:00
parent f441b2665f
commit 4be98e2537

View file

@ -1,16 +1,16 @@
name: Compile apt-layer
name: Compile apt-layer (v2)
on:
push:
branches: [ main, master ]
paths:
- 'src/apt-layer/**'
- '.forgejo/workflows/compile-apt-layer.yml'
- '.forgejo/workflows/compile-apt-layer*.yml'
pull_request:
branches: [ main, master ]
paths:
- 'src/apt-layer/**'
- '.forgejo/workflows/compile-apt-layer.yml'
- '.forgejo/workflows/compile-apt-layer*.yml'
workflow_dispatch: # Allow manual triggering
jobs:
@ -62,6 +62,10 @@ jobs:
echo "❌ numfmt not found and no package manager available"
exit 1
fi
if ! command -v zip >/dev/null 2>&1; then
echo "❌ zip not found and no package manager available"
exit 1
fi
echo "✅ Required tools are already available"
fi