If TTS speak call fails, restart TTS and retry all messages in queue #4
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: "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: Build Debug APK | |
id: build-debug | |
run: ./gradlew assembleDebug | |
- name: Automatic Releases | |
uses: marvinpinto/action-automatic-releases@latest | |
if: ${{ steps.build-debug.outcome == 'success' }} | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: true | |
title: "Auto build [debug]" | |
files: 'app/build/outputs/apk/**/*.apk' |