File tree Expand file tree Collapse file tree 1 file changed +19
-12
lines changed
Expand file tree Collapse file tree 1 file changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -28,33 +28,40 @@ jobs:
2828 - name : Install system dependencies
2929 run : |
3030 sudo apt-get update -qq
31+
32+ # خطوط عربية
3133 sudo apt-get install -y \
32- # ── خطوط عربية احترافية ──────────────────
33- fonts-amiri \
34+ fonts-hosny-amiri \
3435 fonts-arabeyes \
3536 fonts-farsiweb \
36- fonts-hosny-amiri \
3737 fonts-liberation \
3838 fonts-dejavu \
3939 fonts-noto \
4040 fonts-noto-core \
41- fonts-noto-extra \
42- # ── أدوات PDF ───────────────────────────
41+ fontconfig
42+
43+ # حاول تثبيت حزم اختيارية (قد لا تكون متاحة في كل إصدار)
44+ sudo apt-get install -y fonts-noto-extra 2>/dev/null || true
45+
46+ # أدوات PDF
47+ sudo apt-get install -y \
4348 weasyprint \
4449 wkhtmltopdf \
45- poppler-utils \
46- # ── Python لمعالجة العربية ───────────────
50+ poppler-utils
51+
52+ # Python
53+ sudo apt-get install -y \
4754 python3-pip \
4855 python3-bidi \
49- python3-arabic-reshaper \
50- # ── تحديث ذاكرة الخطوط ──────────────────
51- fontconfig
56+ python3-arabic-reshaper
57+
5258 sudo fc-cache -f -v
5359
5460 - name : Install Python Arabic libraries
5561 run : |
56- pip3 install arabic-reshaper python-bidi weasyprint --break-system-packages || \
57- pip3 install arabic-reshaper python-bidi weasyprint
62+ pip3 install arabic-reshaper python-bidi weasyprint --break-system-packages 2>/dev/null || \
63+ pip3 install arabic-reshaper python-bidi weasyprint 2>/dev/null || \
64+ echo "pip install skipped - using system packages"
5865
5966 - name : Install Ruby dependencies
6067 run : bundle install
You can’t perform that action at this time.
0 commit comments