From 93fbdf0e540e04c64ac9e42d14342d1d5a9d25bf Mon Sep 17 00:00:00 2001 From: LongYinan Date: Wed, 18 Nov 2020 11:28:06 +0800 Subject: [PATCH] ci: remove legacy add path command --- .github/workflows/linux-aarch64.yaml | 4 +--- .github/workflows/napi3.yaml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux-aarch64.yaml b/.github/workflows/linux-aarch64.yaml index 93f14587..cf04ab3e 100644 --- a/.github/workflows/linux-aarch64.yaml +++ b/.github/workflows/linux-aarch64.yaml @@ -62,9 +62,7 @@ jobs: npm-cache- - name: Install cross compile toolchain - run: | - sudo apt-get update - sudo apt-get install gcc-aarch64-linux-gnu g++-6-aarch64-linux-gnu -y + run: sudo apt-get install gcc-aarch64-linux-gnu g++-6-aarch64-linux-gnu -y - name: Install dependencies run: yarn install --frozen-lockfile --registry https://registry.npmjs.org diff --git a/.github/workflows/napi3.yaml b/.github/workflows/napi3.yaml index d4da31e8..09bb8086 100644 --- a/.github/workflows/napi3.yaml +++ b/.github/workflows/napi3.yaml @@ -20,7 +20,7 @@ jobs: run: | wget https://nodejs.org/dist/v10.2.0/node-v10.2.0-linux-x64.tar.xz tar xf node-v10.2.0-linux-x64.tar.xz - echo "::add-path::$(pwd)/node-v10.2.0-linux-x64/bin" + echo "$(pwd)/node-v10.2.0-linux-x64/bin" >> $GITHUB_PATH - name: Install stable uses: actions-rs/toolchain@v1