Skip to content

Commit

Permalink
override '/__e/node20/' directory, sitead of share volume from '${{ g…
Browse files Browse the repository at this point in the history
…ithub.workspace }}:/__e/node20'

Post job cleanup.
/usr/bin/docker exec  a73c1686824111e1103ab64b9f540a586c9548c53a8213840c21206b2f17403a sh -c "cat /etc/*release | grep ^ID"
OCI runtime exec failed: exec failed: unable to start container process: exec: "/__e/node20/bin/node": stat /__e/node20/bin/node: no such file or directory: unknown
  • Loading branch information
k-okada committed Dec 7, 2024
1 parent 5374523 commit 59fe943
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ jobs:
CONTAINER: ubuntu:20.04
# BUILD_PKGS: cmd_vel_smoother contact_states_observer joy_mouse jsk_teleop_joy

container:
image: ${{ matrix.CONTAINER }}
volumes:
- ${{ github.workspace }}:/__e/node20

container: ${{ matrix.CONTAINER }}
steps:
- name: Install latest git ( use sudo for ros-ubuntu )
run: |
Expand All @@ -55,11 +51,12 @@ jobs:
- name: Try to replace `node` with an glibc 2.17
shell: bash
run: |
ls -lar /__e/node20 &&
ls -alr /__e/node20/
sudo rm -fr /__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
sudo tar -x --strip-components=1 -f /tmp/node.tar.gz
- name: Chcekout
uses: actions/[email protected]
Expand Down

0 comments on commit 59fe943

Please sign in to comment.