From 569f0a9deab8c210f8098f3089318daaaff97d9f Mon Sep 17 00:00:00 2001 From: anxdpanic Date: Fri, 18 Jun 2021 14:01:40 -0400 Subject: [PATCH] Update integrations --- .github/workflows/addon-validations.yml | 39 ++++++++++++++++--------- .travis.yml | 24 --------------- README.md | 2 +- 3 files changed, 26 insertions(+), 39 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/addon-validations.yml b/.github/workflows/addon-validations.yml index 6f8c061f6..0af7fc97c 100644 --- a/.github/workflows/addon-validations.yml +++ b/.github/workflows/addon-validations.yml @@ -13,17 +13,28 @@ jobs: name: Add-on Validations steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Clean-up Add-on Folder - run: | - rm -rf LICENSES/ - - - name: Kodi Add-on Checker - id: kodi-addon-checker - uses: xbmc/action-kodi-addon-checker@v1.2 - with: - kodi-version: isengard - is-pr: false - addon-id: ${{ github.event.repository.name }} + - name: Checkout Add-on + uses: actions/checkout@v2 + with: + path: ${{ github.event.repository.name }} + + - name: Checkout kodi-addon-checker + uses: actions/checkout@v2 + with: + repository: xbmc/addon-check + path: addon-check + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install addon-check/ + + - name: Staging + run: | + rm -rf LICENSES/ + working-directory: ${{ github.event.repository.name }} + + - name: Kodi Add-on Checker + id: kodi-addon-checker + run: | + kodi-addon-checker ${{ github.event.repository.name }} --branch=isengard diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e21d9d497..000000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: python -python: - - "3.6" - -branches: - except: - - /^pr_.+$/ - -before_install: - - | - cd $HOME - git clone https://github.com/xbmc/addon-check - cd $TRAVIS_BUILD_DIR - -install: - - pip install $HOME/addon-check/ - -before_script: - - | - rm -rf LICENSES/ - cd $HOME - -script: - - kodi-addon-checker $TRAVIS_BUILD_DIR --branch=isengard diff --git a/README.md b/README.md index 934565347..09ca5b1cf 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![](https://raw.githubusercontent.com/anxdpanic/plugin.video.youtube/master/icon.png) -![Build Status](https://img.shields.io/travis/com/anxdpanic/plugin.video.youtube/master.svg) +[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fanxdpanic%2Fplugin.video.youtube%2Fbadge&style=flat)](https://actions-badge.atrox.dev/anxdpanic/plugin.video.youtube/goto) ![License](https://img.shields.io/badge/license-GPL--2.0--only-success.svg) ![Kodi Version](https://img.shields.io/badge/kodi-isengard%2B-success.svg) ![Contributors](https://img.shields.io/github/contributors/anxdpanic/plugin.video.youtube.svg)