From 36338896666f5e2079cc09dfea05555c52045514 Mon Sep 17 00:00:00 2001 From: markson Date: Fri, 12 May 2023 22:54:22 +0800 Subject: [PATCH] use nodejs18 --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8119a1d..a62af17 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,8 +15,10 @@ jobs: - name: Build v2rayA run: | eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" - brew install yarn nodejs go - cat build.sh | bash + export PATH="/home/linuxbrew/.linuxbrew/opt/node@18/bin:$PATH" + brew install yarn node@18 go + chmod +x build.sh + ./build.sh - name: Release files uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')