Use mimetypes
for MIME type detection in image processing (#100)
#112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: scons pot | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
scons-pot: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v2 | |
- name: Set up Python environment | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Install scons | |
run: pip install scons | |
- name: Install gettext | |
run: sudo apt-get install gettext | |
- name: Generating pot file | |
run: scons pot | |
- name: upload artifact | |
uses: actions/upload-artifact@v2-preview | |
with: | |
path: ./*.pot |