@@ -15,32 +15,37 @@ jobs:
15
15
contents : write
16
16
id-token : write
17
17
steps :
18
- - name : Checkout code
19
- uses : actions/checkout@v4
18
+ - name : Checkout code
19
+ uses : actions/checkout@v4
20
20
21
- - name : Set up Python 3.12
22
- uses : actions/setup-python@v5
23
- with :
24
- python-version : ' 3.12'
21
+ - name : Set up Python 3.12
22
+ uses : actions/setup-python@v5
23
+ with :
24
+ python-version : ' 3.12'
25
25
26
- - name : Compile *po files for localisation
27
- run : |
28
- for L in fotokilof/locale/??; do
29
- if [ -e fotokilof/$L/LC_MESSAGES/fotokilof.po ]; then
30
- msgfmt fotokilof/$L/LC_MESSAGES/fotokilof.po -o fotokilof/$L/LC_MESSAGES/fotokilof.mo
31
- fi
32
- done
26
+ - name : Compile *po files for localisation
27
+ run : |
28
+ apt-get install -y gettext tree
29
+ ls
30
+ tree
31
+ L_PRE=fotokilof/locale
32
+ L_LAST=LC_MESSAGES/fotokilof
33
+ for L in $L_PRE/??; do
34
+ if [ -e $L_PRE/$L/$L_LAST.po ]; then
35
+ msgfmt $L_PRE/$L/$L_LAST.po -o fotokilof/$L/$L_LAST.mo
36
+ fi
37
+ done
33
38
34
- - name : " Install build"
35
- run : pip install build
39
+ - name : " Install build"
40
+ run : pip install build
36
41
37
- - name : Build package
38
- run : python -m build
39
-
40
- - name : Publish distribution to PyPI
41
- uses : pypa/gh-action-pypi-publish@release/v1
42
+ - name : Build package
43
+ run : python -m build
44
+
45
+ - name : Publish distribution to PyPI
46
+ uses : pypa/gh-action-pypi-publish@release/v1
42
47
43
- - name : Upload artifact signatures to GitHub Release
44
- env :
45
- GITHUB_TOKEN : ${{ github.token }}
46
- run : gh release upload '${{ github.pypi }}' dist/** --repo '${{ github.repository }}'
48
+ # - name: Upload artifact signatures to GitHub Release
49
+ # env:
50
+ # GITHUB_TOKEN: ${{ github.token }}
51
+ # run: gh release upload '${{ github.pypi }}' dist/** --repo '${{ github.repository }}'
0 commit comments