Update workflow runner and python versions

This commit is contained in:
MoojMidge 2024-05-27 10:17:22 +10:00
parent 0faec8bba3
commit 3605649957
5 changed files with 22 additions and 8 deletions

View file

@ -12,7 +12,12 @@ jobs:
if: github.repository == 'anxdpanic/plugin.video.youtube'
name: Add-on Validations
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ '3.x' ]
steps:
- name: Checkout Add-on
@ -20,6 +25,11 @@ jobs:
with:
path: ${{ github.event.repository.name }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip

View file

@ -11,7 +11,7 @@ jobs:
release:
if: github.repository == 'anxdpanic/plugin.video.youtube' || github.event_name == 'workflow_dispatch'
name: Make Release
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
permissions:
contents: write

View file

@ -20,6 +20,11 @@ jobs:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
python-version: [ '3.x' ]
steps:
- name: Get and set release status
# workflow_dispatch: use pre-release variable for release status
@ -38,10 +43,10 @@ jobs:
echo "pre-release=false" >> $GITHUB_OUTPUT
fi
- name: Setup Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: ${{ matrix.python-version }}
- name: Install dependencies
# install lftp for mirroring repository

View file

@ -12,12 +12,12 @@ jobs:
release:
if: github.repository == 'anxdpanic/plugin.video.youtube' || github.event_name == 'workflow_dispatch'
name: Submit Release
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 3.9 ]
python-version: [ '3.x' ]
steps:
- name: Checkout Add-on

View file

@ -14,10 +14,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 3.9 ]
python-version: [ '3.x' ]
steps: