-
Notifications
You must be signed in to change notification settings - Fork 114
41 lines (32 loc) · 1005 Bytes
/
addon-validations.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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-latest
strategy:
fail-fast: false
matrix:
python-version: [ '3.x' ]
steps:
- name: Checkout Add-on
uses: actions/checkout@v4
with:
path: ${{ github.event.repository.name }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- 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 (Nexus)
id: kodi-addon-checker-nexus
run: |
kodi-addon-checker ${{ github.event.repository.name }} --branch=nexus