From d64e1713fb9ca2546bb20aa4a6ca36a18bf6180a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Thu, 25 May 2023 16:46:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20actions=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E9=94=99=E8=AF=AF=20(#1145)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-test.yml | 6 ++++-- .github/workflows/release-drafter.yml | 7 +++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 15223f7f2..5d1ce1a57 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -16,7 +16,8 @@ jobs: run: sudo apt-get update && sudo apt-get -y install gcc-x86-64-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf gcc-powerpc64le-linux-gnu gcc-s390x-linux-gnu - name: Checkout code uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - name: Setup Node + uses: actions/setup-node@v3 with: node-version: '18.14' - name: Build Web @@ -25,7 +26,8 @@ jobs: cd frontend && npm install && npm run build:dev env: NODE_OPTIONS: --max-old-space-size=8192 - - uses: actions/setup-go@v4 + - name: Setup Go + uses: actions/setup-go@v4 with: go-version: '1.20.x' - name: Build Server diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 923b74028..c3da2193c 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -12,8 +12,10 @@ jobs: steps: - name: Install cross-compilers run: sudo apt-get update && sudo apt-get -y install gcc-x86-64-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf gcc-powerpc64le-linux-gnu gcc-s390x-linux-gnu + - name: Checkout code uses: actions/checkout@v2 - - uses: actions/setup-node@v3 + - name: Setup Node + uses: actions/setup-node@v3 with: node-version: '18.14' - name: Build Web @@ -21,7 +23,8 @@ jobs: cd frontend && npm install && npm run build:dev env: NODE_OPTIONS: --max-old-space-size=8192 - - uses: actions/setup-go@v4 + - name: Setup Go + uses: actions/setup-go@v4 with: go-version: '1.20.x' - name: Build Release