File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 27
27
steps :
28
28
- name : Get current branch name
29
29
shell : bash
30
- run : echo "CURRENT_BRANCH=$(echo ${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV
30
+ run : |
31
+ echo "CURRENT_BRANCH=$(echo ${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV
31
32
- name : Check out ${{ github.repository }}
32
33
uses : actions/checkout@v2
33
34
with :
@@ -46,13 +47,14 @@ jobs:
46
47
python-version : ' 3.9'
47
48
- name : Install dependencies
48
49
run : |
49
- sudo apt update && sudo apt install gettext
50
+ sudo apt update -y && sudo apt install gettext -y
50
51
pip3 install --upgrade pip
51
52
pip3 install -r requirements.txt -r cpython/Doc/requirements.txt
52
53
- uses : ammaraskar/sphinx-problem-matcher@master
53
54
- name : Build docs
54
55
run : |
55
56
mkdir logs
57
+ echo "::add-matcher::.github/problem-matchers/sphinx.json"
56
58
sh scripts/build.sh 2> >(tee -a logs/error.log >&2)
57
59
env :
58
60
LANGUAGE : ${{ env.LANGUAGE }}
You can’t perform that action at this time.
0 commit comments