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

20 lines
513 B
YAML
Raw Normal View History

2023-07-24 12:14:06 +00:00
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 }}