CI: fix addon-checker export dir name so the addon-id/folder-name che… #104
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: Kodi Addon Check (Custom) | |
| on: [push, pull_request] | |
| jobs: | |
| kodi-addon-checker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.8 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.8' | |
| - name: Install kodi-addon-checker | |
| run: | | |
| pip install kodi-addon-checker | |
| - name: Export addon files via git archive (matches what actually gets submitted - respects .gitattributes export-ignore) | |
| run: | | |
| mkdir -p export/${{ github.event.repository.name }} | |
| git archive HEAD | tar -x -C export/${{ github.event.repository.name }} | |
| - name: Run addon checker | |
| run: | | |
| kodi-addon-checker --branch matrix export/${{ github.event.repository.name }} |