Skip to content

Refactor SenderFileDataAdapter structure in uniffi module #36

Refactor SenderFileDataAdapter structure in uniffi module

Refactor SenderFileDataAdapter structure in uniffi module #36

name: ARK Drop Android Bindings Release
on:
push:
paths:
- "drop-core/entities/**"
- "drop-core/exchanges/**"
- "drop-core/uniffi/**"
- ".github/workflows/arkdrop-bindings-release.yml"
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
defaults:
run:
working-directory: ./drop-core/uniffi/bindings/android
steps:
- name: Free Disk Space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: false
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
- name: Install NDK
run: cargo install cargo-ndk
- name: Install JDK
uses: actions/[email protected]
with:
distribution: "temurin"
java-version: "22"
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
- name: Set up Android SDK
uses: android-actions/setup-android@v3
- name: Set up Android NDK
uses: nttld/setup-ndk@v1
with:
link-to-sdk: true
ndk-version: r29-beta2
- name: Publish Bindings Android
run: ./gradlew publish -Pandroid.useAndroidX=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_VERSION: ${{ github.run_id }}