mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2026-04-16 10:30:51 -07:00
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
name: Add-on Validations
|
|
|
|
on:
|
|
push:
|
|
branches: [ master, main ]
|
|
|
|
pull_request:
|
|
branches: [ master, main ]
|
|
|
|
jobs:
|
|
addon-validations:
|
|
if: github.repository == 'anxdpanic/plugin.video.youtube'
|
|
|
|
name: Add-on Validations
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- name: Checkout Add-on
|
|
uses: actions/checkout@v3
|
|
with:
|
|
path: ${{ github.event.repository.name }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install git+https://github.com/xbmc/addon-check.git
|
|
|
|
- name: Kodi Add-on Checker (Isengard)
|
|
id: kodi-addon-checker-isengard
|
|
run: |
|
|
kodi-addon-checker ${{ github.event.repository.name }} --branch=isengard
|
|
|
|
- name: Staging for Matrix
|
|
run: |
|
|
git apply .patches/matrix-kodi-addon-checker.patch
|
|
working-directory: ${{ github.event.repository.name }}
|
|
|
|
- name: Kodi Add-on Checker (Matrix)
|
|
id: kodi-addon-checker-matrix
|
|
run: |
|
|
kodi-addon-checker ${{ github.event.repository.name }} --branch=matrix
|