Skip to content

Commit

Permalink
Attempt to trick runner into using node16
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-r-thorpe committed Nov 29, 2024
1 parent 472c3cd commit bc2ce4e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/src/build-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/src/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bc2ce4e

Please sign in to comment.