]> sigrok.org Git - sigrok-build.git/commitdiff
build.yml: Allow github actions to use node16 origin/HEAD origin/master
authorSoeren Apel <redacted>
Sun, 11 Aug 2024 13:34:59 +0000 (15:34 +0200)
committerSoeren Apel <redacted>
Sun, 11 Aug 2024 13:34:59 +0000 (15:34 +0200)
See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

As our docker images use an older GLIBC, node20 doesn't work.

.github/workflows/build.yml

index aa8ee8af8872bf995e14fa0c8895b6b5826d4f52..009b41c36990f5f2c6df0cd125b29e0bdcedca49 100644 (file)
@@ -215,6 +215,8 @@ jobs:
       ARTIFACT_TITLE: "PulseView"
       ARTIFACT_BIN_NAME: "pulseview"
       ARTIFACT_VERSION: "NIGHTLY"
+      # See https://github.com/actions/checkout/issues/1590#issuecomment-2219382750
+      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 
     steps:
       - name: Update dependencies
@@ -310,6 +312,8 @@ jobs:
       ARTIFACT_TITLE: "sigrok-cli"
       ARTIFACT_BIN_NAME: "sigrok-cli"
       ARTIFACT_VERSION: "NIGHTLY"
+      # See https://github.com/actions/checkout/issues/1590#issuecomment-2219382750
+      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 
     steps:
       - name: Update dependencies