2022-08-01 13:38:02 +02:00
|
|
|
name: Flutter CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2022-08-06 23:36:02 +02:00
|
|
|
- name: Set up JDK 12
|
|
|
|
uses: actions/setup-java@v1
|
2022-08-01 13:38:02 +02:00
|
|
|
with:
|
|
|
|
java-version: '12.x'
|
|
|
|
- uses: subosito/flutter-action@v1
|
|
|
|
with:
|
2022-08-01 13:43:39 +02:00
|
|
|
channel: 'stable'
|
2022-08-06 23:36:02 +02:00
|
|
|
- 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
|
2022-08-01 13:38:02 +02:00
|
|
|
with:
|
2022-08-06 23:36:02 +02:00
|
|
|
name: revanced-manager
|
2022-08-13 19:56:51 +02:00
|
|
|
path: build/app/outputs/flutter-apk/app-release.apk
|