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
Michel Roux 85a06b6b5f
All checks were successful
apk / build (push) Successful in 2m4s
Force build
2023-07-31 22:31:29 +02:00

20 lines
515 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 }}