mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
31 lines
715 B
YAML
31 lines
715 B
YAML
name: Flutter CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK 12
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: '12.x'
|
|
- uses: subosito/flutter-action@v1
|
|
with:
|
|
channel: 'stable'
|
|
- name: Set up Flutter
|
|
run: flutter pub get
|
|
- name: Build with Flutter
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: flutter build apk
|
|
- name: Store generated APK file
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: revanced-manager
|
|
path: build/app/outputs/flutter-apk/app-release.apk
|