1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/.github/workflows/build-android.yml

41 lines
1.1 KiB
YAML
Raw Normal View History

# The goal of this action is to compile the Android debug build. That should
# tell us automatically if something got broken when a dependency was changed.
name: react-native-android-build-apk
on: [push, pull_request]
jobs:
AssembleRelease:
2024-11-05 19:29:50 +02:00
if: github.repository == 'laurent22/joplin'
runs-on: ubuntu-latest
steps:
- name: Install Linux dependencies
run: |
sudo apt-get update || true
sudo apt-get install -y libsecret-1-dev
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '20'
2023-08-05 18:06:58 +02:00
- uses: actions/checkout@v4
2024-04-07 15:42:50 +02:00
- uses: actions/setup-node@v4
with:
node-version: '18'
2023-08-05 17:57:17 +02:00
cache: 'yarn'
- name: Install Yarn
run: |
corepack enable
- name: Install
run: yarn install
- name: Assemble Android Release
run: |
cd packages/app-mobile/android
sed -i -- 's/signingConfig signingConfigs.release/signingConfig signingConfigs.debug/' app/build.gradle
./gradlew assembleRelease