From d167f0152fe44faa4878d04821fa9eb1d7c9ea35 Mon Sep 17 00:00:00 2001 From: phunkyfish Date: Fri, 16 Feb 2024 08:36:44 +0000 Subject: [PATCH] [github] Update deprecated workflows --- .github/workflows/build.yml | 15 ++++----------- .../sync-addon-metadata-translations.yml | 10 +++++----- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 305f283..2e7436d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -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 screensaver.pingpong repo - uses: actions/checkout@v2 + - name: Checkout add-on repo + uses: actions/checkout@v4 with: path: ${{ env.app_id }} - name: Configure diff --git a/.github/workflows/sync-addon-metadata-translations.yml b/.github/workflows/sync-addon-metadata-translations.yml index a52b1ad..afdfdb6 100644 --- a/.github/workflows/sync-addon-metadata-translations.yml +++ b/.github/workflows/sync-addon-metadata-translations.yml @@ -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/screensaver.pingpong' + if: github.repository == 'screensaver.pingpong' runs-on: ubuntu-latest strategy: @@ -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 }}