diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 2abc16484..6a4314647 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -152,7 +152,7 @@ jobs: uses: actions/setup-go@v2 if: steps.cache.outputs.cache-hit != 'true' with: - go-version: ^1.15 + go-version: 1.15 - name: Native Build if: steps.cache.outputs.cache-hit != 'true' run: ./run libs v2ray diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a65eaacf1..ef6318b78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -165,7 +165,7 @@ jobs: uses: actions/setup-go@v2 if: steps.cache.outputs.cache-hit != 'true' with: - go-version: ^1.15 + go-version: 1.15 - name: Native Build if: steps.cache.outputs.cache-hit != 'true' run: ./run libs v2ray diff --git a/bin/libs/v2ray.sh b/bin/libs/v2ray.sh index 5d0e4e870..9617df3eb 100755 --- a/bin/libs/v2ray.sh +++ b/bin/libs/v2ray.sh @@ -8,7 +8,7 @@ export GO111MOUDLE=on export PATH="$PATH:$(go env GOPATH)/bin" cd "$PROJECT/build" -[ -d "v2ray" ] || git clone https://github.com/2dust/AndroidLibV2rayLite v2ray +[ -d "v2ray" ] || git clone https://github.com/2dust/AndroidLibV2rayLite v2ray || exit 1 cd v2ray git reset --hard && git clean -fdx sed -i -e "s|go 1.14|go 1.16|g" go.mod