From a366418c91b5f682776329c3a0fa0e6a901d8493 Mon Sep 17 00:00:00 2001 From: zhao jun <873019219@qq.com> Date: Fri, 7 Jun 2024 06:31:42 +0000 Subject: [PATCH] upgrade actions version --- .github/workflows/build.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index faef59d..a647c4d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,9 +26,10 @@ jobs: uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v4 + # uses: actions/setup-node@v4 + users: useblacksmith/setup-node@v5 with: - node-version: '18' + node-version: '20' cache: 'yarn' cache-dependency-path: yarn.lock @@ -38,13 +39,13 @@ jobs: yarn && yarn build - name: Set up QEMU # 设置 QEMU 环境,用来模拟操作系统,用来编译 arm64 镜像和 amd64 镜像 - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: all - name: Set up Docker Buildx # 设置 Docker Buildx 环境 id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: version: latest