From bc2ce4e42f49f3091d596c81a0f849ab41461cf0 Mon Sep 17 00:00:00 2001 From: "Jonathan Thorpe (Sony)" Date: Fri, 29 Nov 2024 14:42:33 +0000 Subject: [PATCH] Attempt to trick runner into using node16 --- .github/workflows/build-test.yml | 11 ++++++++--- .github/workflows/src/build-setup.yml | 2 +- .github/workflows/src/build-test.yml | 7 ++++++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 4dcecfce..553f395b 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -126,7 +126,7 @@ jobs: - name: 'ubuntu-14.04: install cmake' if: matrix.os == 'ubuntu-14.04' - uses: ssrobins/install-cmake@v1 + uses: lukka/get-cmake@v3.24.2 - name: install cmake if: matrix.os != 'ubuntu-14.04' @@ -667,7 +667,12 @@ 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 - + if [[ {{ matrix.os }} == "ubuntu-14.04"]]; then + cd $RUNNER_HOME/actions-runner/externals + mv node20 node20.bak + ln -s node16 node20 + fi + - name: setup google credentials if: env.SECRET_GOOGLE_CREDENTIALS shell: bash @@ -684,7 +689,7 @@ jobs: - name: 'ubuntu-14.04: install cmake' if: matrix.os == 'ubuntu-14.04' - uses: ssrobins/install-cmake@v1 + uses: lukka/get-cmake@v3.24.2 - name: install cmake if: matrix.os != 'ubuntu-14.04' diff --git a/.github/workflows/src/build-setup.yml b/.github/workflows/src/build-setup.yml index b8bc8b0f..525d9554 100644 --- a/.github/workflows/src/build-setup.yml +++ b/.github/workflows/src/build-setup.yml @@ -5,7 +5,7 @@ - name: 'ubuntu-14.04: install cmake' if: matrix.os == 'ubuntu-14.04' - uses: ssrobins/install-cmake@v1 + uses: lukka/get-cmake@v3.24.2 - name: install cmake if: matrix.os != 'ubuntu-14.04' diff --git a/.github/workflows/src/build-test.yml b/.github/workflows/src/build-test.yml index f6859feb..7af09273 100644 --- a/.github/workflows/src/build-test.yml +++ b/.github/workflows/src/build-test.yml @@ -181,7 +181,12 @@ 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 - + if [[ {{ matrix.os }} == "ubuntu-14.04"]]; then + cd $RUNNER_HOME/actions-runner/externals + mv node20 node20.bak + ln -s node16 node20 + fi + @import build-and-test make_badges: