diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1a9e44938..34bc2a35cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -183,7 +183,7 @@ jobs: echo "sdk.dir=${ANDROID_HOME}" > local.properties echo "ndk.dir=${ANDROID_HOME}/ndk/21.4.7075529" >> local.properties - name: Install Golang - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 if: steps.cache.outputs.cache-hit != 'true' with: go-version: 1.16 diff --git a/bin/libs/v2ray/init.sh b/bin/libs/v2ray/init.sh index 2f37ac04a3..f4c9b7a2b5 100755 --- a/bin/libs/v2ray/init.sh +++ b/bin/libs/v2ray/init.sh @@ -8,4 +8,4 @@ cd $PROJECT [ -f v2ray/go.mod ] || git submodule update --init v2ray cd v2ray git reset --hard && git clean -fdx -go mod download -x && go get -v golang.org/x/mobile/cmd/... || exit 1 +go mod download -x && go get -v golang.org/x/mobile/cmd/...@v0.0.0-20230531173138-3c911d8e3eda || exit 1