Skip to content

Commit

Permalink
CI allow cache
Browse files Browse the repository at this point in the history
  • Loading branch information
pablouser1 committed Dec 29, 2023
1 parent d8529f2 commit a64d67b
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/addon-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ jobs:
name: Kodi addon checker
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Kodi addon checker validation
id: kodi-addon-checker
uses: xbmc/action-kodi-addon-checker@v1.1
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
kodi-version: matrix
is-pr: ${{ github.event_name == 'pull_request' }}
addon-id: ${{ github.event.repository.name }}
python-version: '3.11'
cache: 'pip'
- name: Install checker
run: pip install kodi-addon-checker
- name: Run checker push
run: kodi-addon-checker
if: ${{ github.event_name != 'pull_request' }}
- name: Run checker PR
run: kodi-addon-checker --PR
if: ${{ github.event_name == 'pull_request' }}

0 comments on commit a64d67b

Please sign in to comment.