From 70f5d20ca47139c53ade17ef92828d6a2c549574 Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Sat, 6 Aug 2022 22:36:02 +0100 Subject: [PATCH] fix: Github build workflow. --- .github/workflows/release-build.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 1412d520..9d236c55 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -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