Skip to content

Release - 2.8.1

Release - 2.8.1 #103

Workflow file for this run

name: CI_Push
on:
push:
branches: [main]
paths-ignore:
- "README.md"
- "LICENSE"
- "fastlane/**"
jobs:
build:
name: Build, sign & upload
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build
run: ./gradlew clean && ./gradlew assembleRelease
- name: Sign
id: sign_apk
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNINGKEY_BASE64 }}
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
- name: Upload
uses: actions/upload-artifact@v3
with:
name: lunar-launcher-release
path: ${{steps.sign_apk.outputs.signedReleaseFile}}