From 5c93503710132eac715f3e9ed6520a18dd5ca73e Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Fri, 26 Jun 2026 12:16:21 -0500 Subject: [PATCH] Fix gamecube-iso: use docker run instead of job container actions/checkout requires Node.js which the libogc2 container lacks. Checkout on the runner, then run the full build inside the container via docker run with the workspace mounted. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/build.yml | 41 +++++++++++++++---------------------- 1 file changed, 16 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 093f8cb5..81a30caf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -137,35 +137,26 @@ jobs: build-gamecube-iso: runs-on: ubuntu-latest - container: - image: ghcr.io/extremscorner/libogc2:latest steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Install additional dependencies - run: | - apt-get update - apt-get install -y \ - python3 \ - python3-pip \ - python3-polib \ - python3-pil \ - python3-dotenv \ - python3-pyqt5 \ - python3-opengl \ - xorriso - dkp-pacman -Syu --noconfirm - dkp-pacman -S --needed --noconfirm \ - gamecube-sdl2 \ - ppc-liblzma \ - ppc-libzip \ - gamecube-tools \ - ppc-libmad \ - ppc-zlib-ng \ - ppc-bzip2 \ - ppc-zstd - name: Build GameCube ISO - run: ./scripts/build-gamecube-iso.sh + run: | + docker run --rm \ + -v "${{ github.workspace }}:/workdir" \ + -w /workdir \ + ghcr.io/extremscorner/libogc2:latest \ + /bin/bash -c " + apt-get update && + apt-get install -y \ + python3 python3-pip python3-polib python3-pil \ + python3-dotenv python3-pyqt5 python3-opengl xorriso && + dkp-pacman -Syu --noconfirm && + dkp-pacman -S --needed --noconfirm \ + gamecube-sdl2 ppc-liblzma ppc-libzip \ + gamecube-tools ppc-libmad ppc-zlib-ng ppc-bzip2 ppc-zstd && + ./scripts/build-gamecube-iso.sh + " - name: Copy output files run: | mkdir -p ./git-artifcats/Dusk