mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-02 00:20:11 +01:00
Fix golang version
This commit is contained in:
parent
cc6d2d278c
commit
69a40d7258
2
.github/workflows/debug.yml
vendored
2
.github/workflows/debug.yml
vendored
@ -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
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user