Skip to content

Translations update from Hosted Weblate (#122) #14

Translations update from Hosted Weblate (#122)

Translations update from Hosted Weblate (#122) #14

Workflow file for this run

name: "Auto Build"
on:
push:
branches:
- "main"
paths:
- "app/**"
- "build.gradle.kts"
- "gradle.properties"
- "settings.gradle.kts"
- "!**/.gitignore"
- "!app/src/*[Tt]est/**"
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Create keystore files
run: |
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -di > release.keystore
echo "${{ secrets.KEYSTORE_PROPERTIES }}" > keystore.properties
- name: Build
id: build
run: ./gradlew assembleRelease
- name: Automatic Releases
uses: marvinpinto/action-automatic-releases@latest
if: ${{ steps.build.outcome == 'success' }}
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Auto build"
files: 'app/build/outputs/apk/**/*.apk'