Skip to content

Squashed commit of the following: #102

Squashed commit of the following:

Squashed commit of the following: #102

Workflow file for this run

name: Release ARM64
on:
push:
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
build:
name: Gradle Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Android SDK Tools
uses: android-actions/setup-android@v2
- name: Install NDK
run: |
echo "y" | sdkmanager --install "ndk;21.4.7075529" --sdk_root=${ANDROID_SDK_ROOT} &> /dev/null
echo "sdk.dir=${ANDROID_HOME}" >> local.properties
echo "ndk.dir=${ANDROID_HOME}/ndk/21.4.7075529" >> local.properties
- name: Setup Gradle
uses: gradle/[email protected]
- name: Chmod Gradle
run: chmod +x gradlew
- name: Build
run: |
export commit="${{ github.event.head_commit.message }}"
export commit_author="${{ github.actor }}"
export commit_sha="${{ github.sha }}"
export run_num="${{ github.run_number }}"
./gradlew assembleArm64Release
- name: Upload Aritfact
uses: actions/upload-artifact@v4
with:
name: release APK
path: ${{ github.workspace }}/TMessagesProj/build/outputs/apk