-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
93 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,28 @@ | ||
name: Kodi Addon-Check (Krypton) | ||
|
||
on: [push, pull_request] | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags-ignore: | ||
- v* | ||
pull_request: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
kodi-addon-checker-krypton: | ||
runs-on: ubuntu-latest | ||
name: Kodi addon checker | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Kodi addon checker validation (krypton) | ||
id: kodi-addon-checker-krypton | ||
uses: xbmc/action-kodi-addon-checker@v1.0 | ||
uses: xbmc/action-kodi-addon-checker@v1.2 | ||
with: | ||
kodi-version: krypton | ||
is-pr: false | ||
addon-id: ${{ github.event.repository.name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,20 +10,54 @@ jobs: | |
runs-on: ubuntu-latest | ||
name: Kodi addon submitter | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Extract kodi official repository target | ||
id: extract_branch_pr | ||
shell: bash | ||
env: | ||
ADDON_ID: ${{ github.event.repository.name }} | ||
run: | | ||
echo "##[set-output name=branch;]$(git --no-pager branch -a --contains "$GITHUB_SHA" | grep 'remotes/origin/' | cut -d '/' -f3)" | ||
if [[ $ADDON_ID == plugin* ]]; then | ||
echo "##[set-output name=repo;]repo-plugins" | ||
else | ||
echo "##[set-output name=repo;]repo-scripts" | ||
fi | ||
- name: Kodi addon checker validation (krypton) | ||
id: kodi-addon-checker-krypton | ||
uses: xbmc/[email protected] | ||
with: | ||
kodi-version: krypton | ||
is-pr: true | ||
addon-id: ${{ github.event.repository.name }} | ||
rewrite-for-matrix: false | ||
|
||
- name: Kodi addon checker validation (matrix) | ||
id: kodi-addon-checker-matrix | ||
uses: xbmc/[email protected] | ||
with: | ||
kodi-version: matrix | ||
is-pr: true | ||
addon-id: ${{ github.event.repository.name }} | ||
rewrite-for-matrix: true | ||
|
||
- name: Generate distribution zip and submit to official kodi repository | ||
id: kodi-addon-submitter | ||
uses: xbmc/action-kodi-addon-submitter@v1.1 | ||
with: # Replace all the below values | ||
kodi-repository: repo-scripts | ||
uses: xbmc/action-kodi-addon-submitter@v1.2 | ||
with: | ||
kodi-repository: ${{ steps.extract_branch_pr.outputs.repo }} | ||
kodi-version: krypton | ||
addon-id: script.tubecast | ||
addon-id: ${{ github.event.repository.name }} | ||
kodi-matrix: true | ||
env: # Make sure you create the below secrets (GH_TOKEN and EMAIL) | ||
GH_USERNAME: ${{ github.actor }} | ||
GH_USERNAME: ${{ github.repository_owner }} | ||
GH_TOKEN: ${{secrets.GH_TOKEN}} | ||
EMAIL: ${{secrets.EMAIL}} | ||
|
||
- name: Create Github Release | ||
id: create_release | ||
uses: actions/[email protected] | ||
|
@@ -34,8 +68,9 @@ jobs: | |
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
- name: Upload Addon zip to github release | ||
id: upload-release-asset | ||
|
||
- name: Upload Addon zip to github release (krypton) | ||
id: upload-release-asset-krypton | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -44,3 +79,14 @@ jobs: | |
asset_path: ${{ steps.kodi-addon-submitter.outputs.addon-zip }} | ||
asset_name: ${{ steps.kodi-addon-submitter.outputs.addon-zip }} | ||
asset_content_type: application/zip | ||
|
||
- name: Upload Addon zip to github release (matrix) | ||
id: upload-release-asset-matrix | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ${{ steps.kodi-addon-submitter.outputs.addon-zip-matrix }} | ||
asset_name: ${{ steps.kodi-addon-submitter.outputs.addon-zip-matrix }} | ||
asset_content_type: application/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<addon id="script.tubecast" name="TubeCast" version="1.4.2" provider-name="enen92"> | ||
<addon id="script.tubecast" name="TubeCast" version="1.4.3" provider-name="enen92"> | ||
<requires> | ||
<import addon="xbmc.python" version="2.25.0"/> | ||
<import addon="script.module.bottle" version="0.12.0"/> | ||
|
@@ -19,9 +19,7 @@ | |
<email>[email protected]</email> | ||
<source>https://github.com/enen92/script.tubecast</source> | ||
<news> | ||
[ci] automated submissions to matrix | ||
[fix] adapted xbmcgui methods for matrix | ||
[fix] shrink screenshots | ||
[ci] Simplified CI | ||
</news> | ||
<disclaimer lang="en_GB">This is not a full chromecast implementation nor will it ever be. It will only work as long as Google keep backwards compatibility with the cast v1 protocol in the Youtube application. Deeply inspired by Leapcast and gotubecast projects</disclaimer> | ||
<disclaimer lang="pt_PT">Este addon não é uma implementação completa do protocolo cast nem nunca será. Apenas funcionará enquanto a Google mantiver a retrocompatibilidade com o protocolo cast v1 na aplicação móvel do youtube. Inspirado no Leapcast e gotubecast</disclaimer> | ||
|
This file was deleted.
Oops, something went wrong.