Bump actions/download-artifact from 4.1.7 to 4.1.8 #56
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: Translations | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update_po: | |
name: Update language files | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -eo pipefail {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- run: sudo apt-get install -qy gettext | |
- run: ./lang/report.sh | tee before.tsv | column -t | |
- run: make -BC lang | |
- run: ./lang/report.sh | tee after.tsv | column -t | |
- run: .github/pr_text.py | tee summary.md | |
- run: | | |
echo >>$GITHUB_OUTPUT "summary<<EOS_SUMMARY" | |
cat >>$GITHUB_OUTPUT <summary.md | |
echo >>$GITHUB_OUTPUT "EOS_SUMMARY" | |
id: report | |
- run: rm before.tsv after.tsv summary.md | |
- uses: peter-evans/create-pull-request@v7 | |
with: | |
branch: ${{ github.ref_name }}_langfiles | |
commit-message: Update language files | |
title: Update language files on ${{ github.ref_name }} | |
body: ${{ steps.report.outputs.summary }} |