Fix golang version

This commit is contained in:
世界 2021-02-26 10:28:51 +08:00
parent cc6d2d278c
commit 69a40d7258
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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