Skip to content

Release V1.1

Release V1.1 #1

Workflow file for this run

name: Build Android and Release
on:
release:
types: [created]
jobs:
build:
name: Build Android
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Build Android
run: ./gradlew assembleRelease
- name: Upload Release Assets
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: app/build/outputs/apk/release/*.apk
asset_name: app-release.apk
asset_content_type: application/vnd.android.package-archive
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}