Skip to content

Commit 0be22df

Browse files
Force Ubuntu 14.04 actions to use Node16
1 parent db51484 commit 0be22df

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/build-test.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ env:
1111
SECRET_GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
1212
SECRET_RESULTS_SHEET_ID: ${{ secrets.RESULTS_SHEET_ID }}
1313
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
14-
if [[ "${{ matrix.os }}" == "ubuntu-14.04" ]]; then
15-
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16
16-
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
17-
fi
14+
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: ${{ matrix.os == "ubuntu-14.04" && "node16" || "node20" }}
15+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: ${{ matrix.os == "ubuntu-14.04" && "node16" || "node20" }}
16+
1817
jobs:
1918
build_and_test:
2019
name: '${{ matrix.os }}: build and test (install mdns: ${{ matrix.install_mdns }}, use conan: ${{ matrix.use_conan }}, force cpprest asio: ${{ matrix.force_cpprest_asio }}, dns-sd mode: ${{ matrix.dns_sd_mode}}, enable_authorization: ${{ matrix.enable_authorization }})'

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

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ env:
1111
SECRET_GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
1212
SECRET_RESULTS_SHEET_ID: ${{ secrets.RESULTS_SHEET_ID }}
1313
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
14-
if [[ "${{ matrix.os }}" == "ubuntu-14.04" ]]; then
15-
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16
16-
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
17-
fi
14+
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: ${{ matrix.os == "ubuntu-14.04" && "node16" || "node20" }}
15+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: ${{ matrix.os == "ubuntu-14.04" && "node16" || "node20" }}
16+
1817
jobs:
1918
build_and_test:
2019
name: '${{ matrix.os }}: build and test (install mdns: ${{ matrix.install_mdns }}, use conan: ${{ matrix.use_conan }}, force cpprest asio: ${{ matrix.force_cpprest_asio }}, dns-sd mode: ${{ matrix.dns_sd_mode}}, enable_authorization: ${{ matrix.enable_authorization }})'

0 commit comments

Comments
 (0)