[ + ] Fix emoji,thai,arabic #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly Build | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
inputs: | |
commit: | |
description: 'Commit hash to build' | |
required: false | |
default: 'dd326c7564c7a50ebae7b6fed73b3a1682a9f145' | |
type: string | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Java 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
cache: gradle | |
- name: Grant execution permission to Gradle Wrapper | |
run: chmod +x gradlew | |
- name: Build Release APK | |
run: ./gradlew assembleRelease | |
- name: Sign app APK | |
uses: r0adkll/sign-android-release@v1 | |
id: sign_app | |
with: | |
releaseDirectory: app/build/outputs/apk/release | |
signingKeyBase64: ${{ secrets.KEY_BASE64 }} | |
alias: ${{ secrets.KEY_ALIAS }} | |
keyStorePassword: ${{ secrets.KEYSTORE_PASS }} | |
keyPassword: ${{ secrets.KEYSTORE_PASS }} | |
env: | |
BUILD_TOOLS_VERSION: "34.0.0" | |
- name: Rename APK | |
run: mv app/build/outputs/apk/release/app-release-signed.apk EasyNotes-nightly.apk | |
- name: Upload the APK | |
uses: actions/upload-artifact@v4.3.5 | |
with: | |
name: EasyNotes-Nightly | |
path: EasyNotes-nightly.apk | |
- name: Update nightly release | |
uses: eine/tip@master | |
with: | |
tag: Nightly | |
token: ${{ secrets.TOKEN }} | |
files: EasyNotes-nightly.apk |