Skip to content

Bump actions/download-artifact from 4.1.7 to 4.1.8 #56

Bump actions/download-artifact from 4.1.7 to 4.1.8

Bump actions/download-artifact from 4.1.7 to 4.1.8 #56

Workflow file for this run

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 }}