-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1.23 KB
/
publish-addon.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
42
43
44
45
46
name: Publish addon
on:
push:
tags:
- '*'
- '!*a*'
- '!*b*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install -q typing-extensions
pip install -q -r requirements.txt
- name: Check with Pylint
run: |
pylint plugin.video.external.library/libs \
plugin.video.external.library/main.py \
plugin.video.external.library/commands.py \
plugin.video.external.library/service.py
- name: Install addon checker
run: |
pip install -q kodi-addon-checker
- name: Check with addon-checker
run: |
kodi-addon-checker --branch nexus plugin.video.external.library
- name: Install addon submitter
run: |
pip install -q git+https://github.com/xbmc/kodi-addon-submitter.git
- name: Submit addon
run: |
submit-addon -r repo-plugins -b nexus -s --pull-request plugin.video.external.library
env:
GH_USERNAME: romanvm
GH_TOKEN: ${{ secrets.gh_token }}
EMAIL: [email protected]