From a63478eb2438d972d7d2a95a068597e00548d3f5 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Thu, 5 Dec 2024 20:10:50 +0900 Subject: [PATCH] fix CI, override node20 https://github.com/actions/upload-artifact/issues/616#issuecomment-2350667347 --- .github/workflows/config.yml | 18 +++++++++++++++++- .travis | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 7f83a7edd..b5c1f5887 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -25,7 +25,11 @@ jobs: CONTAINER: ubuntu:20.04 # BUILD_PKGS: cmd_vel_smoother contact_states_observer joy_mouse jsk_teleop_joy - container: ${{ matrix.CONTAINER }} + container: + image: ${{ matrix.CONTAINER }} + volumes: + - ${{ runner.temp }}:/__e/node20 + steps: - name: Install latest git ( use sudo for ros-ubuntu ) run: | @@ -48,6 +52,18 @@ jobs: git config --global --add safe.directory $GITHUB_WORKSPACE fi + - name: Try to replace `node` with an glibc 2.17 + shell: bash + run: | + ls -lar /__e/node20 && + sudo apt-get install -y curl && + curl -Lo /tmp/node.tar.gz https://unofficial-builds.nodejs.org/download/release/v20.17.0/node-v20.17.0-linux-x64-glibc-217.tar.gz && + cd /__e/node20 && + tar -x --strip-components=1 -f /tmp/node.tar.gz + - name: install system nodejs for pos job cleanup + shell: bash + run: | + sudo apt-get install -y nodejs - name: Chcekout uses: actions/checkout@v3.0.2 diff --git a/.travis b/.travis index 4e8b3cf26..b223c886b 160000 --- a/.travis +++ b/.travis @@ -1 +1 @@ -Subproject commit 4e8b3cf2637d593d05106e84edf2e4532677d37c +Subproject commit b223c886bcda0d96c6c03b0f0ae07da768a00155