Skip to content

Commit bc2ce4e

Browse files
Attempt to trick runner into using node16
1 parent 472c3cd commit bc2ce4e

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.github/workflows/build-test.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
127127
- name: 'ubuntu-14.04: install cmake'
128128
if: matrix.os == 'ubuntu-14.04'
129-
uses: ssrobins/install-cmake@v1
129+
uses: lukka/get-cmake@v3.24.2
130130

131131
- name: install cmake
132132
if: matrix.os != 'ubuntu-14.04'
@@ -667,7 +667,12 @@ jobs:
667667
curl -sS https://bootstrap.pypa.io/pip/3.6/get-pip.py | python
668668
curl -sS https://nodejs.org/dist/v12.16.2/node-v12.16.2-linux-x64.tar.xz | tar -xJ
669669
echo "`pwd`/node-v12.16.2-linux-x64/bin" >> $GITHUB_PATH
670-
670+
if [[ {{ matrix.os }} == "ubuntu-14.04"]]; then
671+
cd $RUNNER_HOME/actions-runner/externals
672+
mv node20 node20.bak
673+
ln -s node16 node20
674+
fi
675+
671676
- name: setup google credentials
672677
if: env.SECRET_GOOGLE_CREDENTIALS
673678
shell: bash
@@ -684,7 +689,7 @@ jobs:
684689
685690
- name: 'ubuntu-14.04: install cmake'
686691
if: matrix.os == 'ubuntu-14.04'
687-
uses: ssrobins/install-cmake@v1
692+
uses: lukka/get-cmake@v3.24.2
688693

689694
- name: install cmake
690695
if: matrix.os != 'ubuntu-14.04'

.github/workflows/src/build-setup.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
- name: 'ubuntu-14.04: install cmake'
77
if: matrix.os == 'ubuntu-14.04'
8-
uses: ssrobins/install-cmake@v1
8+
uses: lukka/get-cmake@v3.24.2
99

1010
- name: install cmake
1111
if: matrix.os != 'ubuntu-14.04'

.github/workflows/src/build-test.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,12 @@ jobs:
181181
curl -sS https://bootstrap.pypa.io/pip/3.6/get-pip.py | python
182182
curl -sS https://nodejs.org/dist/v12.16.2/node-v12.16.2-linux-x64.tar.xz | tar -xJ
183183
echo "`pwd`/node-v12.16.2-linux-x64/bin" >> $GITHUB_PATH
184-
184+
if [[ {{ matrix.os }} == "ubuntu-14.04"]]; then
185+
cd $RUNNER_HOME/actions-runner/externals
186+
mv node20 node20.bak
187+
ln -s node16 node20
188+
fi
189+
185190
@import build-and-test
186191

187192
make_badges:

0 commit comments

Comments
 (0)