This repository has been archived by the owner on Aug 11, 2024. It is now read-only.
Add crowdin translate support #57
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: Create Apk | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- "README*.md" | |
- "app/src/main/res/**" | |
- ".github/**" | |
push: | |
paths-ignore: | |
- "README*.md" | |
- "app/src/main/res/**" | |
- ".github/**" | |
jobs: | |
apk: | |
name: Generate APK | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
cache: "gradle" | |
- name: Build APK | |
run: bash ./gradlew assembleReleaseGithub --stacktrace | |
- name: Upload APK | |
uses: actions/upload-artifact@v1 | |
with: | |
name: release | |
path: app/build/outputs/apk/releaseGithub/ |