Skip to content

Commit

Permalink
[github] Update deprecated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Feb 16, 2024
1 parent 7af3d7a commit e523506
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,10 @@ jobs:
matrix:
include:
- name: "Debian package test"
os: ubuntu-22.04
os: ubuntu-latest
CC: gcc
CXX: g++
DEBIAN_BUILD: true
#- os: ubuntu-22.04
#CC: gcc
#CXX: g++
#- os: ubuntu-22.04
#CC: clang
#CXX: clang++
#- os: macos-10.15
steps:
- name: Install needed ubuntu depends
env:
Expand All @@ -31,13 +24,13 @@ jobs:
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get update; fi
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi
- name: Checkout Kodi repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: xbmc/xbmc
ref: master
path: xbmc
- name: Checkout screensavers.rsxs repo
uses: actions/checkout@v2
- name: Checkout add-on repo
uses: actions/checkout@v4
with:
path: ${{ env.app_id }}
- name: Configure
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/sync-addon-metadata-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: Sync addon metadata translations

on:
push:
branches: [ Matrix, Nexus ]
branches: [ Matrix, Nexus, Omega ]
paths:
- '**addon.xml.in'
- '**resource.language.**strings.po'

jobs:
default:
if: github.repository == 'xbmc/screensavers.rsxs'
if: github.repository == 'screensavers.rsxs'
runs-on: ubuntu-latest

strategy:
Expand All @@ -21,18 +21,18 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: project

- name: Checkout sync_addon_metadata_translations repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: xbmc/sync_addon_metadata_translations
path: sync_addon_metadata_translations

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -43,7 +43,7 @@ jobs:
- name: Run sync-addon-metadata-translations
run: |
sync-addon-metadata-translations --multiple-addons
sync-addon-metadata-translations
working-directory: ./project

- name: Create PR for sync-addon-metadata-translations changes
Expand All @@ -55,4 +55,4 @@ jobs:
branch: amt-sync
delete-branch: true
path: ./project
reviewers: gade01
reviewers: gade01

0 comments on commit e523506

Please sign in to comment.