Skip to content

Update release_apk.yml #5

Update release_apk.yml

Update release_apk.yml #5

Workflow file for this run

name: release apk
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'beta'
- working-directory: ./open_earable
run: flutter pub get
- working-directory: ./open_earable
run: flutter format --set-exit-if-changed .
- working-directory: ./open_earable
run: flutter analyze .
- working-directory: ./open_earable
run: flutter build apk
- uses: actions/upload-artifact@v1
with:
name: release-apk
path: open_earable/build/app/outputs/apk/release/app-release.apk