This repository has been archived on 2023-09-03. You can view files and clone it, but cannot push or open issues or pull requests.
FxPix/.gitea/workflows/apk.yml
2023-07-24 14:14:06 +02:00

20 lines
513 B
YAML

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 }}