]> sigrok.org Git - sigrok-build.git/commitdiff
build.yml: Install and use node20
authorSoeren Apel <redacted>
Sat, 24 Aug 2024 20:45:44 +0000 (22:45 +0200)
committerSoeren Apel <redacted>
Sat, 24 Aug 2024 20:45:44 +0000 (22:45 +0200)
.github/workflows/build.yml

index afc7baad218f9871e4823a4b949d7f668ab4818c..29f74101fcad60c4583052e532f3282aab423905 100644 (file)
@@ -337,6 +337,10 @@ jobs:
 #      ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
 
     steps:
+      - name: Update node to 20
+        run: |
+          sudo nvm install 20
+          sudo nvm use 20
       - name: Update dependencies
         run: |
           sudo apt-get update
@@ -362,7 +366,6 @@ jobs:
         with:
           repository: sigrokproject/sigrok-cli
           path: sigrok-cli
-          node-version: '20'
 
       - name: Build sigrok-cli
         run: |
@@ -391,7 +394,6 @@ jobs:
         with:
           name: artifact-sigrok-cli-x86_64-appimage
           path: sigrok-build/ci/appimage/appimage-build/sigrok-cli-*.appimage
-          node-version: '20'
 
       - name: Output artifact URL
         # Only relevant for pull requests
@@ -414,7 +416,6 @@ jobs:
               repo: context.repo.repo,
               body: process.env.PR_NOTES
             })
-          node-version: '20'
 
 
   build_pulseview_macos:
@@ -670,4 +671,5 @@ jobs:
           GH_EVENT_NAME: ${{ github.event_name }}
           GH_REF: ${{ github.ref }}
         run: echo "Repo $GH_REPO, Event $GH_EVENT_NAME, Ref $GH_REF"
-
+      - name: Runner debug output
+        run: ldd --version