From 91c02d02cf1bc9e2410322b9e760a50ffbf3b4c0 Mon Sep 17 00:00:00 2001 From: linsui Date: Mon, 17 Apr 2023 16:45:58 +0800 Subject: [PATCH] clash meta: go 1.20 --- metadata/com.github.metacubex.clash.meta.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/metadata/com.github.metacubex.clash.meta.yml b/metadata/com.github.metacubex.clash.meta.yml index 2d1e8706b7..6a58b63ef5 100644 --- a/metadata/com.github.metacubex.clash.meta.yml +++ b/metadata/com.github.metacubex.clash.meta.yml @@ -278,8 +278,10 @@ Builds: subdir: app submodules: true sudo: - - apt-get update - - apt-get install -y -t bullseye-backports golang-go + - curl -Lso go.tar.gz https://golang.org/dl/go1.20.3.linux-amd64.tar.gz + - echo "979694c2c25c735755bf26f4f45e19e64e4811d661dd07b8c010f7a8e18adfca go.tar.gz" + | sha256sum -c - + - tar xzf go.tar.gz --strip-components=1 -C /usr/local/ gradle: - meta-alpha prebuild: