Replace workflow with v2: bypass Forgejo caching issues and remove all GitHub Actions dependencies
This commit is contained in:
parent
f441b2665f
commit
4be98e2537
1 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue