Skip to content

Commit 3934936

Browse files
authored
Update build.yml
1 parent 8c9b98d commit 3934936

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
steps:
2828
- name: Get current branch name
2929
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
3132
- name: Check out ${{ github.repository }}
3233
uses: actions/checkout@v2
3334
with:
@@ -46,13 +47,14 @@ jobs:
4647
python-version: '3.9'
4748
- name: Install dependencies
4849
run: |
49-
sudo apt update && sudo apt install gettext
50+
sudo apt update -y && sudo apt install gettext -y
5051
pip3 install --upgrade pip
5152
pip3 install -r requirements.txt -r cpython/Doc/requirements.txt
5253
- uses: ammaraskar/sphinx-problem-matcher@master
5354
- name: Build docs
5455
run: |
5556
mkdir logs
57+
echo "::add-matcher::.github/problem-matchers/sphinx.json"
5658
sh scripts/build.sh 2> >(tee -a logs/error.log >&2)
5759
env:
5860
LANGUAGE: ${{ env.LANGUAGE }}

0 commit comments

Comments
 (0)