Fix: Always download Go 1.23 directly to ensure correct version for build
Build Debug / Build Android Debug APK (push) Failing after 1m10s
Build UUVPN / Build Android APK (push) Failing after 1m10s
Build UUVPN / Cleanup old artifacts (push) Failing after 1s
Build Debug / Build iOS Debug App (push) Has been cancelled
Build UUVPN / Build iOS IPA (push) Has been cancelled
Build UUVPN / Create GitHub Release (push) Has been cancelled
Build UUVPN / Upload to TestFlight (push) Has been cancelled
Build UUVPN / Send Notification (push) Has been cancelled

This commit is contained in:
2026-07-04 10:14:29 +08:00
parent 8c1483da96
commit 9f17517c20
2 changed files with 10 additions and 18 deletions
+5 -9
View File
@@ -77,15 +77,11 @@ jobs:
- name: Install Go 1.23
run: |
if command -v apk &> /dev/null; then
apk add --no-cache go
elif command -v apt-get &> /dev/null; then
apt-get update && apt-get install -y golang-go
else
curl -sL https://go.dev/dl/go1.23.0.linux-amd64.tar.gz | tar xz -C /toolcache
echo "/toolcache/go/bin" >> $GITHUB_PATH
fi
go version
# Always download Go 1.23 directly to ensure correct version
curl -sL https://go.dev/dl/go1.23.0.linux-amd64.tar.gz | tar xz -C /toolcache
echo "/toolcache/go/bin" >> $GITHUB_PATH
echo "GOROOT=/toolcache/go" >> $GITHUB_ENV
/toolcache/go/bin/go version
- name: Setup Android SDK
uses: android-actions/setup-android@v3
+5 -9
View File
@@ -111,15 +111,11 @@ jobs:
- name: Install Go 1.23
run: |
if command -v apk &> /dev/null; then
apk add --no-cache go
elif command -v apt-get &> /dev/null; then
apt-get update && apt-get install -y golang-go
else
curl -sL https://go.dev/dl/go1.23.0.linux-amd64.tar.gz | tar xz -C /toolcache
echo "/toolcache/go/bin" >> $GITHUB_PATH
fi
go version
# Always download Go 1.23 directly to ensure correct version
curl -sL https://go.dev/dl/go1.23.0.linux-amd64.tar.gz | tar xz -C /toolcache
echo "/toolcache/go/bin" >> $GITHUB_PATH
echo "GOROOT=/toolcache/go" >> $GITHUB_ENV
/toolcache/go/bin/go version
- name: Setup Android SDK
uses: android-actions/setup-android@v3