From 4710cf8633bac0e33f53656dc20bd6db9426cce4 Mon Sep 17 00:00:00 2001 From: Zakaria El Orche Date: Wed, 12 Aug 2026 19:47:40 +0000 Subject: [PATCH] ci: replace actions/checkout with a plain git clone actions/checkout@v4 is a Node-based action; the maven:3.9-eclipse-temurin-21 container it was running in has no Node, so it failed with "node: executable file not found in \$PATH". A shell git clone needs neither Node nor any action runtime, just git (installed here via apt). Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/publish-maven.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/publish-maven.yml b/.gitea/workflows/publish-maven.yml index 66d6891..d0ae0a5 100644 --- a/.gitea/workflows/publish-maven.yml +++ b/.gitea/workflows/publish-maven.yml @@ -17,10 +17,17 @@ on: jobs: publish: runs-on: ubuntu-latest + # No actions/checkout here on purpose: it's a Node-based action, and this container + # (chosen for its preinstalled mvn/JDK 21) has no Node — checkout would fail with + # "node: executable file not found". A plain git clone needs neither. container: image: maven:3.9-eclipse-temurin-21 steps: - - uses: actions/checkout@v4 + - name: Checkout + run: | + apt-get update && apt-get install -y --no-install-recommends git + git clone https://git.pixel-services.com/Relism/Flash5.git . + git checkout ${{ gitea.sha }} - name: Stamp every module with a commit-scoped version run: |