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/')