Skip to content

Commit

Permalink
fix CI, override node20 actions/upload-artifact#616 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Dec 7, 2024
1 parent a9ba806 commit 041de86
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ 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 }}
options: --mount type=tmpfs,destination=/__e/node20,tmpfs-size=200m,tmpfs-mode=1777

steps:
- name: Install latest git ( use sudo for ros-ubuntu )
run: |
Expand All @@ -48,6 +51,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/[email protected]

Expand Down

0 comments on commit 041de86

Please sign in to comment.