Update checklang.yml #3
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: Check for changes in gflanguages | |
on: | |
push: | |
paths: | |
- '**.yml' | |
jobs: | |
run-script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install GH CLI | |
uses: dev-hanz-ops/[email protected] | |
- name: Run Script | |
run: | | |
cd .. | |
cp -r glyphsets glyphsets2 | |
cd glyphsets2 | |
pip install . | |
pip install -U git+https://github.com/googlefonts/lang | |
pip freeze | |
cd .. | |
diff -r glyphsets glyphsets2 || gh issue create --title "I found a bug" --body "Nothing works" || echo "no changes to data" |