From a921225f11f6af7924ad847724fccae9afec1526 Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Fri, 5 Jul 2024 13:03:35 +0530 Subject: [PATCH] fix(ci): allow unsecure node version for self hosted runner --- .github/workflows/build_and_run_examples.yml | 4 ++++ .github/workflows/build_and_run_test_app.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build_and_run_examples.yml b/.github/workflows/build_and_run_examples.yml index 12ac7f0ebc..46c2eee1b9 100644 --- a/.github/workflows/build_and_run_examples.yml +++ b/.github/workflows/build_and_run_examples.yml @@ -50,6 +50,8 @@ jobs: idf_ver: ["release-v4.4", "release-v5.0", "release-v5.1", "release-v5.2", "latest"] idf_target: ["esp32"] runs-on: [self-hosted, linux, docker, "${{ matrix.idf_target }}"] + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true container: image: python:3.7-buster options: --privileged # Privileged mode has access to serial ports @@ -79,6 +81,8 @@ jobs: idf_ver: ["release-v5.0", "release-v5.1", "release-v5.2", "latest"] idf_target: ["esp32"] runs-on: [self-hosted, ESP32-ETHERNET-KIT] + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true container: image: python:3.7-buster options: --privileged # Privileged mode has access to serial ports diff --git a/.github/workflows/build_and_run_test_app.yml b/.github/workflows/build_and_run_test_app.yml index d0cc494690..33a976d85e 100644 --- a/.github/workflows/build_and_run_test_app.yml +++ b/.github/workflows/build_and_run_test_app.yml @@ -72,6 +72,8 @@ jobs: idf_ver: ["release-v4.4", "release-v5.0", "release-v5.1", "release-v5.2", "latest"] idf_target: ["esp32", "esp32c3", "esp32s3"] runs-on: [self-hosted, linux, docker, "${{ matrix.idf_target }}"] + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true container: image: python:3.7-buster options: --privileged # Privileged mode has access to serial ports