house-keeping: migrate workflows from GitHub deprecated node16 -> node20
authorPaul Donald <newtwen@gmail.com>
Wed, 31 Jan 2024 02:59:40 +0000 (03:59 +0100)
committerPaul Donald <newtwen@gmail.com>
Wed, 31 Jan 2024 02:59:40 +0000 (03:59 +0100)
GitHub currently warns with:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

.github/workflows/build.yml

index d7179a01f4136502e6c87c677ecd0789adbc83e0..fd5e2cfa40837bb1c47e2088b40888ddef7c94e1 100644 (file)
@@ -59,13 +59,13 @@ jobs:
         run: cp bin/packages/${{ matrix.arch }}/packages_ci/*.ipk . || true
 
       - name: Store packages
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: ${{ matrix.arch}}-packages
           path: "*.ipk"
 
       - name: Store logs
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: ${{ matrix.arch}}-logs
           path: logs/