From 050d8c5f45289e274a4b0d7c9d24db608bc0f42c Mon Sep 17 00:00:00 2001 From: Hidden-Node Date: Thu, 23 Jul 2026 03:18:05 +0330 Subject: [PATCH] ci: source gomobile version from android/gomobile.version in workflows --- .github/workflows/android-ci.yml | 2 +- .github/workflows/release-manual.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 55612a8..a0fb731 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -32,7 +32,7 @@ jobs: - name: Install gomobile run: | - MOBILE_TOOLS_VERSION=v0.0.0-20260312152759-81488f6aeb60 + MOBILE_TOOLS_VERSION="$(tr -d '[:space:]' < android/gomobile.version)" go install golang.org/x/mobile/cmd/gomobile@${MOBILE_TOOLS_VERSION} go install golang.org/x/mobile/cmd/gobind@${MOBILE_TOOLS_VERSION} echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH" diff --git a/.github/workflows/release-manual.yml b/.github/workflows/release-manual.yml index 5036b07..f628b90 100644 --- a/.github/workflows/release-manual.yml +++ b/.github/workflows/release-manual.yml @@ -58,7 +58,7 @@ jobs: - name: Install gomobile run: | - MOBILE_TOOLS_VERSION=v0.0.0-20260312152759-81488f6aeb60 + MOBILE_TOOLS_VERSION="$(tr -d '[:space:]' < android/gomobile.version)" go install golang.org/x/mobile/cmd/gomobile@${MOBILE_TOOLS_VERSION} go install golang.org/x/mobile/cmd/gobind@${MOBILE_TOOLS_VERSION} echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"