From 02b6194d8f15cf2e419d3c0d54db9489bb06fbad Mon Sep 17 00:00:00 2001 From: Dr-Blank <64108942+Dr-Blank@users.noreply.github.com> Date: Wed, 2 Oct 2024 09:33:12 -0400 Subject: [PATCH] ci: reorder Java setup in CI workflow for improved efficiency in case of test failure --- .github/workflows/flutter_test.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/flutter_test.yaml b/.github/workflows/flutter_test.yaml index 56b3947..9c74813 100644 --- a/.github/workflows/flutter_test.yaml +++ b/.github/workflows/flutter_test.yaml @@ -26,12 +26,6 @@ jobs: repository: Dr-Blank/shelfsdk path: ./shelfsdk - - name: Set Up Java - uses: actions/setup-java@v3.12.0 - with: - distribution: "oracle" - java-version: "17" - - name: Set up Flutter uses: subosito/flutter-action@v2 with: @@ -43,6 +37,12 @@ jobs: - name: Run tests run: flutter test + - name: Set Up Java + uses: actions/setup-java@v3.12.0 + with: + distribution: "oracle" + java-version: "17" + - name: Build APK run: flutter build apk --release