]> sigrok.org Git - sigrok-build.git/commitdiff
build.yml: Use actions/setup-node
authorSoeren Apel <redacted>
Sat, 24 Aug 2024 21:02:47 +0000 (23:02 +0200)
committerSoeren Apel <redacted>
Sat, 24 Aug 2024 21:02:47 +0000 (23:02 +0200)
.github/workflows/build.yml

index 29f74101fcad60c4583052e532f3282aab423905..850427aa2fb559caf79f16437e3e42108cd5a6bd 100644 (file)
@@ -338,9 +338,10 @@ jobs:
 
     steps:
       - name: Update node to 20
-        run: |
-          sudo nvm install 20
-          sudo nvm use 20
+        uses: actions/setup-node@v4
+        with:
+          node-version: 20
+
       - name: Update dependencies
         run: |
           sudo apt-get update