fix: Github build workflow.

This commit is contained in:
Alberto Ponces 2022-08-06 22:36:02 +01:00
parent 35a68b1674
commit 70f5d20ca4

View File

@ -10,15 +10,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
- name: Set up JDK 12
uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- run: flutter pub get
- run: flutter build apk
- uses: actions/upload-artifact@v1
- 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: release-apk
name: revanced-manager
path: build/app/outputs/apk/release/app-release.apk