This commit is contained in:
@@ -19,9 +19,21 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install lftp
|
||||
shell: sh
|
||||
run: |
|
||||
if command -v lftp >/dev/null 2>&1; then
|
||||
echo "✅ lftp bereits installiert"
|
||||
elif command -v apk >/dev/null 2>&1; then
|
||||
echo "📦 Installiere via apk"
|
||||
apk add --no-cache lftp ca-certificates
|
||||
elif command -v apt-get >/dev/null 2>&1; then
|
||||
echo "📦 Installiere via apt-get"
|
||||
apt-get update
|
||||
apt-get install -y lftp ca-certificates
|
||||
else
|
||||
echo "❌ Kein unterstützter Paketmanager gefunden"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Set environment
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user