Catalog Apps #36
This file contains hidden or 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: Catalog Apps | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '.github/workflows/catalog.yml' | |
| - 'app-src/*' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| catalog: | |
| name: "Run catalog script" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout current changes" | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| fetch-depth: 0 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install Pillow | |
| python3 -m pip install pyyaml | |
| - name: Run catalog script | |
| run: | | |
| python3 tools/catalog_apps.py | |
| - name: commit and push changes | |
| run: | | |
| git config user.name github-actions | |
| git config user.email [email protected] | |
| git add *.md | |
| git add **/README.md | |
| git add catalog-output | |
| git add images/icons | |
| git commit -m "auto-catalog" | |
| git push |