2020-03-26 11:31:28 +01:00
|
|
|
name: Kodi
|
|
|
|
on:
|
2021-02-09 21:09:58 +01:00
|
|
|
# Run action when pushed to master, or for commits in a pull request.
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-03-26 11:31:28 +01:00
|
|
|
jobs:
|
2021-02-09 21:09:58 +01:00
|
|
|
kodi-addon-checker:
|
2020-05-11 14:12:13 +02:00
|
|
|
name: Addon checker
|
2020-03-26 11:31:28 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2021-02-09 21:09:58 +01:00
|
|
|
kodi-version: [ leia, matrix ]
|
2020-03-26 11:31:28 +01:00
|
|
|
steps:
|
2021-02-09 21:09:58 +01:00
|
|
|
- name: Check out ${{ github.sha }} from repository ${{ github.repository }}
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2020-03-26 11:31:28 +01:00
|
|
|
- name: Run kodi-addon-checker
|
2021-02-09 21:09:58 +01:00
|
|
|
uses: xbmc/action-kodi-addon-checker@v1.2
|
|
|
|
with:
|
|
|
|
kodi-version: ${{ matrix.kodi-version }}
|
2021-02-25 13:00:48 +01:00
|
|
|
rewrite-for-matrix: ${{ matrix.kodi-version == 'matrix' }}
|
2021-02-09 21:09:58 +01:00
|
|
|
addon-id: ${{ github.event.repository.name }}
|