Skip to content

Commit

Permalink
Update workflow runner and python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed May 27, 2024
1 parent 797ebf6 commit 88552a9
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/addon-validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,24 @@ 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
uses: actions/checkout@v4
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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release-development-repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/submit-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sync-addon-metadata-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
runs-on: ubuntu-latest

strategy:

fail-fast: false
matrix:
python-version: [ 3.9 ]
python-version: [ '3.x' ]

steps:

Expand Down

0 comments on commit 88552a9

Please sign in to comment.