File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ # Controls when the action will run.
4+ on :
5+ push :
6+ branches :
7+ - master
8+
9+ jobs :
10+
11+ # Check the plugin with kodi-addon-checker
12+ kodi-addon-checker :
13+ name : Kodi-addon-checker
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Set up Python 3.8
18+ uses : actions/setup-python@v1
19+ with :
20+ python-version : 3.8
21+ - name : Run kodi-addon-checker
22+ run : |
23+ pip install kodi-addon-checker
24+ kodi-addon-checker --branch krypton --allow-folder-id-mismatch ./script.module.youtube.dl
25+
26+ # Update repository.catchuptvandmore
27+ update-repo :
28+ name : Update repository.catchuptvandmore
29+ needs : kodi-addon-checker
30+ runs-on : ubuntu-latest
31+ steps :
32+ - name : Set up Python 3.8
33+ uses : actions/setup-python@v1
34+ with :
35+ python-version : 3.8
36+ - name : Update all repositories
37+ run : |
38+ pip install gitpython
39+ git clone https://github.com/Catch-up-TV-and-More/repository.catchuptvandmore repo
40+ cd repo
41+ git config --global user.name 'GitHub Actions'
42+ git config --global user.email 'github@noreply.github.com'
43+ git remote set-url origin https://x-access-token:${{ secrets.REPO_TOKEN }}@github.com/Catch-up-TV-and-More/repository.catchuptvandmore.git
44+ ./update_all_repos.sh
You can’t perform that action at this time.
0 commit comments