Skip to content

Commit 0489522

Browse files
author
mirror-bot
committed
Release v26.04.2_1265
1 parent df280d6 commit 0489522

2,176 files changed

Lines changed: 68827 additions & 34848 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/settings.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(git status:*)",
5+
"Bash(git log:*)",
6+
"Bash(git diff:*)",
7+
"Bash(git show:*)",
8+
"Bash(git branch:*)",
9+
"Bash(git remote:*)",
10+
"Bash(git tag:*)",
11+
"Bash(git blame:*)",
12+
"Bash(git stash list:*)",
13+
"Bash(ls:*)",
14+
"Bash(find:*)",
15+
"Bash(cat:*)",
16+
"Bash(head:*)",
17+
"Bash(tail:*)",
18+
"Bash(wc:*)",
19+
"Bash(diff:*)",
20+
"Bash(echo:*)",
21+
"Bash(pwd)",
22+
"Bash(which:*)",
23+
"Bash(whoami)",
24+
"Bash(env)",
25+
"Bash(printenv:*)",
26+
"Bash(sort:*)",
27+
"Bash(uniq:*)",
28+
"Bash(tr:*)",
29+
"Bash(cut:*)",
30+
"Bash(awk:*)",
31+
"Bash(sed:*)",
32+
"Bash(grep:*)",
33+
"Bash(rg:*)",
34+
"Bash(xargs:*)",
35+
"Bash(tree:*)",
36+
"Bash(file:*)",
37+
"Bash(basename:*)",
38+
"Bash(dirname:*)",
39+
"Bash(realpath:*)",
40+
"Bash(stat:*)",
41+
"Bash(date:*)",
42+
"Bash(uname:*)",
43+
"Read",
44+
"Glob",
45+
"Grep"
46+
],
47+
"deny": []
48+
}
49+
}

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
# Maintain dependencies for GitHub Actions
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "monthly"
13+
14+
- package-ecosystem: "gradle"
15+
directory: "/"
16+
schedule:
17+
interval: "monthly"

.github/workflows/baselineprofile.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
baseline:
88
name: generate-baselineprofile
9-
runs-on: macOS-latest
9+
runs-on: macos-latest-xlarge
1010

1111
env:
1212
EMULATOR_API_LEVEL: '30'
@@ -15,28 +15,28 @@ jobs:
1515

1616
steps:
1717
- name: Checkout to git repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919
with:
2020
lfs: 'true'
2121

2222
- name: Check LFS files
2323
uses: actionsdesk/lfs-warning@v3.3
2424

2525
- name: Install JDK
26-
uses: actions/setup-java@v4
26+
uses: actions/setup-java@v5
2727
with:
2828
distribution: 'zulu'
2929
java-version: '22'
3030

3131
- name: Setup Gradle
32-
uses: gradle/actions/setup-gradle@v4
32+
uses: gradle/actions/setup-gradle@v5
3333

3434
- name: Build benchmark
3535
id: gradle
3636
run: ./gradlew :apps:wallet:instance:main:generateReleaseBaselineProfile
3737

3838
- name: AVD cache
39-
uses: actions/cache@v4
39+
uses: actions/cache@v5
4040
id: avd-cache
4141
with:
4242
path: |

.github/workflows/beta.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Android Beta Build
2+
3+
on:
4+
workflow_dispatch:
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
beta-build:
12+
name: Build Beta APK
13+
runs-on: macos-latest-xlarge
14+
15+
steps:
16+
- name: Checkout to git repository
17+
uses: actions/checkout@v6
18+
19+
- name: Get VERSION_CODE from commit timestamp
20+
run: echo "VERSION_CODE=$(git log -1 --format=%ct)" >> $GITHUB_ENV
21+
22+
- name: Setup Java
23+
uses: actions/setup-java@v5
24+
with:
25+
java-version: '21'
26+
distribution: 'temurin'
27+
28+
- name: Cache Gradle Wrapper
29+
uses: actions/cache@v5
30+
with:
31+
path: ~/.gradle/wrapper
32+
key: gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
33+
34+
- name: Accept Android SDK licenses
35+
run: yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --licenses
36+
37+
- name: Setup Gradle
38+
uses: gradle/actions/setup-gradle@v5
39+
40+
- name: Decode Keystore
41+
run: echo "${{ secrets.ANDROID_DIST_SIGNING_KEY }}" | base64 -d > ${{ github.workspace }}/release.keystore
42+
43+
- name: Build Beta APK
44+
run: |
45+
./gradlew :apps:wallet:instance:main:assembleDefaultRelease \
46+
--no-daemon \
47+
--no-build-cache \
48+
--no-configuration-cache \
49+
-Pandroid.injected.signing.store.file=${{ github.workspace }}/release.keystore \
50+
-Pandroid.injected.signing.store.password=${{ secrets.TONKEEPER_UPLOAD_STORE_PASSWORD }} \
51+
-Pandroid.injected.signing.key.alias=${{ secrets.TONKEEPER_UPLOAD_KEY_ALIAS }} \
52+
-Pandroid.injected.signing.key.password=${{ secrets.TONKEEPER_UPLOAD_KEY_PASSWORD }}
53+
54+
- name: Upload Beta APK to artifacts
55+
uses: actions/upload-artifact@v7
56+
with:
57+
name: tonkeeper-beta-${{ env.VERSION_CODE }}
58+
path: apps/wallet/instance/main/build/outputs/apk/default/release/*.apk
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: Build APK Reusable
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
gradle-task:
7+
description: Gradle task used to build the APK
8+
required: true
9+
type: string
10+
artifact-name-prefix:
11+
description: Prefix for uploaded artifact name
12+
required: true
13+
type: string
14+
apk-path-glob:
15+
description: Glob path to built APK files
16+
required: true
17+
type: string
18+
outputs:
19+
artifact-name:
20+
description: Uploaded artifact name
21+
value: ${{ jobs.build-apk.outputs.artifact-name }}
22+
version-code:
23+
description: Build version code derived from commit timestamp
24+
value: ${{ jobs.build-apk.outputs.version-code }}
25+
26+
jobs:
27+
build-apk:
28+
name: Build APK
29+
runs-on: macos-latest-xlarge
30+
outputs:
31+
artifact-name: ${{ steps.artifact_name.outputs.artifact_name }}
32+
version-code: ${{ steps.version_code.outputs.version_code }}
33+
34+
steps:
35+
- name: Checkout to git repository
36+
uses: actions/checkout@v6
37+
38+
- name: Get VERSION_CODE from commit timestamp
39+
id: version_code
40+
shell: bash
41+
run: |
42+
VERSION_CODE="$(git log -1 --format=%ct)"
43+
echo "VERSION_CODE=${VERSION_CODE}" >> "$GITHUB_ENV"
44+
echo "version_code=${VERSION_CODE}" >> "$GITHUB_OUTPUT"
45+
46+
- name: Setup Java
47+
uses: actions/setup-java@v5
48+
with:
49+
java-version: '21'
50+
distribution: 'temurin'
51+
52+
- name: Cache Gradle Wrapper
53+
uses: actions/cache@v5
54+
with:
55+
path: ~/.gradle/wrapper
56+
key: gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
57+
58+
- name: Accept Android SDK licenses
59+
run: yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --licenses
60+
61+
- name: Setup Gradle
62+
uses: gradle/actions/setup-gradle@v5
63+
64+
- name: Decode keystore
65+
shell: bash
66+
run: echo "${{ secrets.TONKEEPER_DEBUG_STORE_FILE }}" | base64 --decode > "${{ github.workspace }}/internal.keystore"
67+
68+
- name: Build APK
69+
shell: bash
70+
run: |
71+
./gradlew ${{ inputs.gradle-task }} \
72+
--no-daemon \
73+
--no-build-cache \
74+
--no-configuration-cache \
75+
-Pandroid.injected.signing.debug.file="${{ github.workspace }}/internal.keystore" \
76+
-Pandroid.injected.signing.debug.password="${{ secrets.TONKEEPER_DEBUG_STORE_PASSWORD }}" \
77+
-Pandroid.injected.signing.debug.key.alias="${{ secrets.TONKEEPER_DEBUG_KEY_ALIAS }}" \
78+
-Pandroid.injected.signing.debug.key.password="${{ secrets.TONKEEPER_DEBUG_KEY_PASSWORD }}"
79+
80+
- name: Compose artifact name
81+
id: artifact_name
82+
shell: bash
83+
run: echo "artifact_name=${{ inputs.artifact-name-prefix }}-${VERSION_CODE}" >> "$GITHUB_OUTPUT"
84+
85+
- name: Upload built APK to artifacts
86+
uses: actions/upload-artifact@v7
87+
with:
88+
name: ${{ steps.artifact_name.outputs.artifact_name }}
89+
path: ${{ inputs.apk-path-glob }}
90+
if-no-files-found: error

.github/workflows/cd.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)