-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix CI, override node20 https://github.com/actions/upload-artifact/is…
- Loading branch information
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,10 @@ jobs: | |
TEST_PKGS: "pr2eus_moveit pr2eus_tutorials" | ||
|
||
|
||
container: ${{ matrix.CONTAINER }} | ||
container: | ||
image: ${{ matrix.CONTAINER }} | ||
volumes: | ||
- /tmp/node20:/__e/node20 | ||
|
||
steps: | ||
- name: Install latest git ( use sudo for ros-ubuntu ) | ||
|
@@ -96,6 +99,21 @@ jobs: | |
git config --global --add safe.directory $GITHUB_WORKSPACE | ||
fi | ||
- name: Try to replace `node` with an glibc 2.17 | ||
shell: bash | ||
run: | | ||
if [ "${{ matrix.CONTAINER }}" = "jskrobotics/ros-ubuntu:14.04" ]; then | ||
export USER=$(whoami) | ||
sudo chmod 777 -R /__e/node20 | ||
sudo chown -R $USER /__e/node20 | ||
fi | ||
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 && | ||
ls -lar /__e/node20/bin/ | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
|