release: Fix update android version

This commit is contained in:
世界 2025-02-14 19:13:49 +08:00
parent 270740e859
commit 4000e1e66d
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 14 additions and 3 deletions

View file

@ -256,9 +256,16 @@ jobs:
with:
path: ~/.gradle
key: gradle-${{ hashFiles('**/*.gradle') }}
- name: Build
- name: Update version
if: github.event_name == 'workflow_dispatch'
run: |-
go run -v ./cmd/internal/update_android_version --ci
- name: Update nightly version
if: github.event_name != 'workflow_dispatch'
run: |-
go run -v ./cmd/internal/update_android_version --ci --nightly
- name: Build
run: |-
mkdir clients/android/app/libs
cp libbox.aar clients/android/app/libs
cd clients/android