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