Skip to content

Commit b938fa0

Browse files
authored
Fix publish pipeline dependency installation and cache check (#356)
1 parent e2aa15d commit b938fa0

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
sudo apt update -y
27-
sudo apt install -y tree poppler-utils
27+
sudo apt install -y tree poppler-utils libxml2-dev libxslt1-dev
2828
uv sync --all-extras --dev
2929
3030
- name: Fetch translation cache

‎scripts/parse.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ fi
1212
# Create empty output directory:
1313
mkdir -p $OUT_DIR
1414
# keep translations cache
15-
mv cache/en "$OUT_DIR/en"
15+
if [ -d cache/en ]; then
16+
mv cache/en "$OUT_DIR/en"
17+
fi
1618

1719
parse(){
1820
echo "Parsing menus for $1..."

0 commit comments

Comments
 (0)