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