mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-06 02:30:50 -08:00
Update workflow runner and python versions
This commit is contained in:
parent
0faec8bba3
commit
3605649957
5 changed files with 22 additions and 8 deletions
12
.github/workflows/addon-validations.yml
vendored
12
.github/workflows/addon-validations.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/make-release.yml
vendored
2
.github/workflows/make-release.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
4
.github/workflows/submit-release.yml
vendored
4
.github/workflows/submit-release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -14,10 +14,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: [ 3.9 ]
|
||||
python-version: [ '3.x' ]
|
||||
|
||||
steps:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue