mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
fix: Github build workflow.
This commit is contained in:
parent
35a68b1674
commit
70f5d20ca4
1 changed files with 11 additions and 5 deletions
16
.github/workflows/release-build.yml
vendored
16
.github/workflows/release-build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue