From f43f10f0fc4e6ffd89f64f1e80e0a6bddc120b9f Mon Sep 17 00:00:00 2001 From: "Jonathan Thorpe (Sony)" Date: Fri, 29 Nov 2024 15:31:00 +0000 Subject: [PATCH] Check matrix.os --- .github/workflows/build-test.yml | 2 ++ .github/workflows/src/build-test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 142f8218..92f58fd1 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -668,7 +668,9 @@ jobs: curl -sS https://bootstrap.pypa.io/pip/3.6/get-pip.py | python curl -sS https://nodejs.org/dist/v12.16.2/node-v12.16.2-linux-x64.tar.xz | tar -xJ echo "`pwd`/node-v12.16.2-linux-x64/bin" >> $GITHUB_PATH + echo "{{ matrix.os }}" if [[ "{{ matrix.os }}" == "ubuntu-14.04" ]]; then + echo "Rename node20" cd $RUNNER_HOME/actions-runner/externals mv node20 node20.bak ln -s node16 node20 diff --git a/.github/workflows/src/build-test.yml b/.github/workflows/src/build-test.yml index 078db9b0..9c0642e0 100644 --- a/.github/workflows/src/build-test.yml +++ b/.github/workflows/src/build-test.yml @@ -182,7 +182,9 @@ jobs: curl -sS https://bootstrap.pypa.io/pip/3.6/get-pip.py | python curl -sS https://nodejs.org/dist/v12.16.2/node-v12.16.2-linux-x64.tar.xz | tar -xJ echo "`pwd`/node-v12.16.2-linux-x64/bin" >> $GITHUB_PATH + echo "{{ matrix.os }}" if [[ "{{ matrix.os }}" == "ubuntu-14.04" ]]; then + echo "Rename node20" cd $RUNNER_HOME/actions-runner/externals mv node20 node20.bak ln -s node16 node20