From a53d8cb4227a946cc0c94bd0c83d06ae85e861d4 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Mon, 21 Sep 2026 23:39:50 +0200 Subject: [PATCH] fix(ci): install node before the nightly artifact upload The first CI run of the nightly passed its scan regression, but the report upload failed: actions/upload-artifact is a Node action and the rust:1.94 job container has no node. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p --- .gitea/workflows/nightly.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/nightly.yml b/.gitea/workflows/nightly.yml index c329cfe..61a9616 100644 --- a/.gitea/workflows/nightly.yml +++ b/.gitea/workflows/nightly.yml @@ -139,6 +139,15 @@ jobs: NIGHTLY_CODESYS_SAMPLE: /tmp/csv-blackbox.projectarchive NIGHTLY_BLESS: ${{ inputs.bless && '1' || '0' }} + # upload-artifact is a Node action and the Rust image has no node. + - name: Install node for the artifact upload + if: always() + run: | + apt-get update -qq + apt-get install -y -qq --no-install-recommends nodejs >/dev/null + env: + RUSTC_WRAPPER: "" + - name: Keep the report and this run's snapshots if: always() uses: actions/upload-artifact@v3