Sfoglia il codice sorgente

ci: failfast in case of conflicts (#16777)

version-14
Ankush Menat 3 anni fa
committed by GitHub
parent
commit
9bec3480ed
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. +7
    -0
      .github/helper/install_dependencies.sh

+ 7
- 0
.github/helper/install_dependencies.sh Vedi File

@@ -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


Caricamento…
Annulla
Salva