CI: update dependencies 6318/head
authorTianling Shen <cnsztl@immortalwrt.org>
Tue, 28 Mar 2023 17:27:32 +0000 (01:27 +0800)
committerTianling Shen <cnsztl@immortalwrt.org>
Tue, 28 Mar 2023 17:27:32 +0000 (01:27 +0800)
The old version which uses Node.js v12 will be disabled
in the end of this year.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
.github/workflows/build.yml

index 5d3aa67a8d148c05b2c35358571d869127cfd41b..94273311c42e176785bdf9b1543e380e56111ae5 100644 (file)
@@ -15,7 +15,7 @@ jobs:
             target: x86-64
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
         with:
           fetch-depth: 0
 
@@ -50,7 +50,7 @@ jobs:
           echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV
 
       - name: Build
-        uses: openwrt/gh-action-sdk@v3
+        uses: openwrt/gh-action-sdk@v5
         env:
           ARCH: ${{ matrix.arch }}-${{ env.BRANCH }}
           FEEDNAME: packages_ci
@@ -59,13 +59,13 @@ jobs:
         run: cp bin/packages/${{ matrix.arch }}/packages_ci/*.ipk . || true
 
       - name: Store packages
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
           name: ${{ matrix.arch}}-packages
           path: "*.ipk"
 
       - name: Store logs
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
           name: ${{ matrix.arch}}-logs
           path: logs/