Fix gamecube-iso container: install Node.js before checkout
Build Dusk / build-gamecube-iso (push) Successful in 3m36s

actions/checkout requires Node.js. Install it via apt as a plain shell
step (no Node needed) before the checkout action runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-26 12:17:30 -05:00
parent 5c93503710
commit 432aa3c4fa
+14 -16
View File
@@ -137,26 +137,24 @@ jobs:
build-gamecube-iso:
runs-on: ubuntu-latest
container:
image: ghcr.io/extremscorner/libogc2:latest
steps:
- name: Install Node.js
run: apt-get update && apt-get install -y nodejs
- name: Checkout repository
uses: actions/checkout@v4
- name: Build GameCube ISO
- name: Install additional dependencies
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
"
apt-get install -y \
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
- name: Copy output files
run: |
mkdir -p ./git-artifcats/Dusk