From aaf1e4eca7d85cef784c8172b055bc2a9facce8c Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Tue, 26 Nov 2024 06:41:23 +0000 Subject: [PATCH] PS4 workflow: Use pacman-package-manager Switches from `pacbrew-pacman` to vanilla pacman that is now an Ubuntu package (`pacman-package-manager`) starting from Ubuntu 24.04. pacbrew-pacman from https://github.com/PacBrew/pacbrew-pacman/releases is 2 years old and has the repo URL that no longer works. With the vanilla pacman, we simply add pacbrew as a repo source with the correct URL. Refs https://github.com/PacBrew/pacbrew-packages/issues/6#issuecomment-2499831033 --- .github/workflows/PS4.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/PS4.yml b/.github/workflows/PS4.yml index a1ef66c44f2..3eacacc1ea5 100644 --- a/.github/workflows/PS4.yml +++ b/.github/workflows/PS4.yml @@ -24,7 +24,7 @@ concurrency: jobs: ps4: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -32,12 +32,18 @@ jobs: fetch-depth: 0 - name: Create Build Environment - run: > - sudo apt-get update && - sudo apt-get install -y wget cmake git gettext smpq && - wget https://github.com/PacBrew/pacbrew-pacman/releases/download/v1.1/pacbrew-pacman-1.1.deb && - sudo dpkg -i pacbrew-pacman-1.1.deb && sudo pacbrew-pacman -Sy && - sudo pacbrew-pacman --noconfirm -S ps4-openorbis ps4-openorbis-portlibs && + run: | + sudo apt-get update && \ + sudo apt-get install -y pacman-package-manager wget cmake git gettext smpq && \ + sudo tee -a /etc/pacman.conf > /dev/null <" | sudo tee /opt/pacbrew/ps4/openorbis/include/sys/endian.h - name: Build