Skip to content

CI: fix addon-checker export dir name so the addon-id/folder-name che… #104

CI: fix addon-checker export dir name so the addon-id/folder-name che…

CI: fix addon-checker export dir name so the addon-id/folder-name che… #104

Workflow file for this run

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