Procházet zdrojové kódy

ci: failfast in case of conflicts (#16777)

version-14
Ankush Menat před 3 roky
committed by GitHub
rodič
revize
9bec3480ed
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. +7
    -0
      .github/helper/install_dependencies.sh

+ 7
- 0
.github/helper/install_dependencies.sh Zobrazit soubor

@@ -2,6 +2,13 @@

set -e

# Check for merge conflicts before proceeding
python -m compileall -f "${GITHUB_WORKSPACE}"
if grep -lr --exclude-dir=node_modules "^<<<<<<< " "${GITHUB_WORKSPACE}"
then echo "Found merge conflicts"
exit 1
fi

# install wkhtmltopdf
wget -O /tmp/wkhtmltox.tar.xz https://github.com/frappe/wkhtmltopdf/raw/master/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
tar -xf /tmp/wkhtmltox.tar.xz -C /tmp


Načítá se…
Zrušit
Uložit