New Crowdin updates (#30) #101
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: build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v1 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Build with Gradle | |
run: ./gradlew assembleDebug | |
- uses: ilharp/sign-android-release@v1 | |
name: Sign APK | |
id: sign_app | |
with: | |
releaseDir: app/build/outputs/apk/debug | |
signingKey: '${{ secrets.SIGNING_KEY }}' | |
keyAlias: '${{ secrets.ALIAS }}' | |
keyStorePassword: '${{ secrets.KEY_STORE_PASSWORD }}' | |
keyPassword: '${{ secrets.KEY_PASSWORD }}' | |
buildToolsVersion: 33.0.0 | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: app-debug-signed.apk | |
path: ${{steps.sign_app.outputs.signedFile}} | |
- uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "dev" | |
prerelease: true | |
title: "Latest commit" | |
files: | | |
${{steps.sign_app.outputs.signedFile}} |