Skip to content

Commit

Permalink
Update addon-checker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bossanova808 committed Feb 4, 2025
1 parent 0a72e5d commit b3495b6
Showing 1 changed file with 8 additions and 24 deletions.
32 changes: 8 additions & 24 deletions .github/workflows/addon-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,14 @@ on: [push, pull_request]
jobs:
kodi-addon-checker:
runs-on: ubuntu-latest
name: Kodi Addon-Checker
name: Kodi addon checker
steps:

- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/checkout@v1
- name: Kodi addon checker validation
id: kodi-addon-checker
uses: xbmc/[email protected]
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip3 install --user kodi-addon-checker
- name: Extract job variables
shell: bash

run: |
echo "addon=$(git diff --diff-filter=d --name-only HEAD~ | grep / | cut -d / -f1 | sort | uniq)" >> $GITHUB_OUTPUT
id: extract_vars

- name: Addon-Check
run: $HOME/.local/bin/kodi-addon-checker --branch=matrix

kodi-version: matrix
is-pr: false
addon-id: ${{ github.event.repository.name }}

0 comments on commit b3495b6

Please sign in to comment.