Skip to content

Merge branch '14-testing' of https://github.com/nulldrf/lawnchair int… #80

Merge branch '14-testing' of https://github.com/nulldrf/lawnchair int…

Merge branch '14-testing' of https://github.com/nulldrf/lawnchair int… #80

name: Build release APK
on:
workflow_dispatch:
push:
branches:
- 14-testing
jobs:
build-release-apk:
runs-on: macos-14
continue-on-error: true
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- name: Write sign info
if: github.repository == 'LawnchairLauncher/lawnchair'
run: |
if [ ! -z "${{ secrets.KEYSTORE }}" ]; then
echo storePassword='${{ secrets.KEYSTORE_PASSWORD }}' >> keystore.properties
echo keyAlias='${{ secrets.KEY_ALIAS }}' >> keystore.properties
echo keyPassword='${{ secrets.KEY_PASSWORD }}' >> keystore.properties
echo storeFile='${{ github.workspace }}/key.jks' >> keystore.properties
echo ${{ secrets.KEYSTORE }} | base64 --decode > ${{ github.workspace }}/key.jks
fi
- name: Build release APK
run: ./gradlew assembleLawnWithQuickstepRelease
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Release APK
path: build/outputs/apk/lawnWithQuickstep/release/*.apk