Skip to content

Commit c4beef3

Browse files
author
Maciej Olko
committed
Add build action
1 parent fa57bd7 commit c4beef3

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
push:
3+
branches:
4+
- '*'
5+
jobs:
6+
build-translation:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/setup-python@master
10+
with:
11+
python-version: 3.8
12+
- uses: actions/checkout@master
13+
with:
14+
repository: python/cpython
15+
- uses: actions/checkout@master
16+
with:
17+
path: Doc/locales/pl/LC_MESSAGES
18+
- run: make venv
19+
working-directory: ./Doc
20+
- run: echo 'gettext_compact = False' >> conf.py
21+
working-directory: ./Doc
22+
- run: make -e SPHINXOPTS="-D language='pl'" html
23+
working-directory: ./Doc
24+
- uses: actions/upload-artifact@master
25+
with:
26+
name: build
27+
path: Doc/build/html

0 commit comments

Comments
 (0)