name: apk on: [ push ] jobs: build: runs-on: ubuntu-latest container: mingc/android-build-box steps: - uses: actions/setup-go@v3 with: go-version: '>=1.20.1' - uses: actions/checkout@v3 - run: sh gradlew build --no-daemon - uses: https://gitea.com/actions/release-action@main if: startsWith(gitea.ref, 'refs/tags') with: files: | app/build/outputs/apk/debug/app-debug.apk api_key: ${{ secrets.RELEASE_TOKEN }}