Skip to content

fix

fix #86

Workflow file for this run

name: Build Test
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Remove old apk
run: |
rm -rf ./release/*
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build With Gradle
run: |
chmod +x gradlew
./gradlew assemblerelease --build-cache --parallel --daemon --warning-mode all
- name: Get VerName
run: |
echo "ver_name=$(grep 'versionName' release/output-metadata.json | cut -d\" -f4)" >> $GITHUB_ENV
- name: Upload App To Artifact
uses: actions/upload-artifact@v3
with:
name: TTS_${{ env.ver_name }}
path: ${{ github.workspace }}/release/*