Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister committed May 9, 2024
1 parent 683d436 commit 5e237e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/addon-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
matrix:
kodi-branch: [krypton, leia, matrix]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: ${{ github.repository }}
- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
python-version: '2.7'
steps:
- name: Check out ${{ github.sha }} from repository ${{ github.repository }}
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup PYTHONPATH (windows)
if: contains(matrix.os, 'windows')
run: echo "PYTHONPATH=${env:PYTHONPATH};${env:GITHUB_WORKSPACE};${env:GITHUB_WORKSPACE}\resources\lib;${env:GITHUB_WORKSPACE}\tests" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
- name: Set up Python ${{ matrix.python-version }}
uses: MatteoH2O1999/setup-python@v1
uses: MatteoH2O1999/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies (linux)
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build zip files
run: |
sudo apt-get update
Expand All @@ -37,7 +37,7 @@ jobs:
echo "$EOF" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -58,14 +58,3 @@ jobs:
GH_USERNAME: ${{secrets.GH_USERNAME}}
GH_TOKEN: ${{secrets.GH_TOKEN}}
EMAIL: ${{secrets.EMAIL}}
- name: Submit legacy version to official kodi repository
id: kodi-submit-legacy
uses: mediaminister/action-kodi-addon-submitter@master
with:
kodi-repository: repo-plugins
kodi-version: krypton
addon-id: plugin.video.vrt.nu
env:
GH_USERNAME: ${{secrets.GH_USERNAME}}
GH_TOKEN: ${{secrets.GH_TOKEN}}
EMAIL: ${{secrets.EMAIL}}

0 comments on commit 5e237e8

Please sign in to comment.