File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -44,20 +44,23 @@ jobs:
4444 - name : Install dependencies
4545 shell : bash
4646 run : |-
47+ source "./scripts/common.sh"
48+
4749 # Ensure consistent versions of tools we use. MacOS uses an outdated version of bash, for
4850 # example.
4951 case "${OSTYPE}" in
5052 win*|msys*)
51- choco install xsltproc
53+ run <<< " choco install xsltproc"
5254 ;;
5355 darwin*)
54- brew install bash libxslt
56+ run <<< " brew install bash libxslt"
5557 ;;
5658 linux*)
57- sudo apt-get install xsltproc -qy
59+ run <<< "sudo apt-get update -q"
60+ run <<< "sudo apt-get install xsltproc -qy"
5861 ;;
5962 *)
60- echo "::warning:: Unknown OS type '${OSTYPE}'. Update build.yaml with a new case."
63+ warn " Unknown OS type '${OSTYPE}'. Update build.yaml with a new case."
6164 ;;
6265 esac
6366
You can’t perform that action at this time.
0 commit comments