From 19fae94623e1ccbc15d426048194c7c25fb13704 Mon Sep 17 00:00:00 2001 From: sinspired Date: Wed, 16 Oct 2024 18:37:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=B7=A8=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_release.yml | 16 ++++++++-------- main.go | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 52fa570..6ad9298 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -14,16 +14,16 @@ jobs: include: - GOOS: linux GOARCH: amd64 - output_name: bestipTestVIP_linux_amd64 + output_name: bestipTest_linux_amd64 - GOOS: windows GOARCH: amd64 - output_name: bestipTestVIP.exe + output_name: bestipTest.exe - GOOS: darwin GOARCH: amd64 - output_name: bestipTestVIP_darwin_amd64 + output_name: bestipTest_darwin_amd64 - GOOS: darwin GOARCH: arm64 - output_name: bestipTestVIP_darwin_arm64 + output_name: bestipTest_darwin_arm64 steps: - name: Checkout code @@ -98,8 +98,8 @@ jobs: Changes in this release: ${{ steps.commit_message.outputs.commit_message }}" \ --draft=false \ - ./artifacts/bestipTestVIP_linux_amd64/bestipTestVIP_linux_amd64 \ - ./artifacts/bestipTestVIP.exe/bestipTestVIP.exe \ - ./artifacts/bestipTestVIP_darwin_amd64/bestipTestVIP_darwin_amd64 \ - ./artifacts/bestipTestVIP_darwin_arm64/bestipTestVIP_darwin_arm64 + ./artifacts/bestipTest_linux_amd64/bestipTest_linux_amd64 \ + ./artifacts/bestipTest.exe/bestipTest.exe \ + ./artifacts/bestipTest_darwin_amd64/bestipTest_darwin_amd64 \ + ./artifacts/bestipTest_darwin_arm64/bestipTest_darwin_arm64 shell: bash \ No newline at end of file diff --git a/main.go b/main.go index 6775381..68c5ec2 100644 --- a/main.go +++ b/main.go @@ -72,7 +72,6 @@ const ( ) var ( - // requestURL = "st.notime.icu/cdn-cgi/trace" // 请求trace URL,自建的貌似会造成数据中心识别错误 requestURL = "speed.cloudflare.com/cdn-cgi/trace" // 请求trace URL locationsJsonUrl = "https://speed.cloudflare.com/locations" // location.json下载 URL