chore: sync .mokogitea/workflows/pre-release.yml from moko-platform [skip ci]

This commit is contained in:
2026-05-28 20:08:50 +00:00
parent 170deab90f
commit 391ce25256
+2
View File
@@ -60,6 +60,8 @@ jobs:
if ! command -v composer &> /dev/null; then
sudo apt-get update -qq && sudo apt-get install -y -qq php-cli php-mbstring php-xml php-zip php-curl composer >/dev/null 2>&1
fi
# Always fetch latest CLI tools — never use stale cache from previous runs
rm -rf /tmp/moko-platform-api
git clone --depth 1 --branch main --quiet \
"https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/moko-platform.git" \
/tmp/moko-platform-api