CI: update dependencies

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>
This commit is contained in:
Tianling Shen 2023-03-29 01:27:32 +08:00
parent 9d128aef3e
commit 63a5e3dcfc
No known key found for this signature in database
GPG key ID: 6850B6345C862176

View file

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