ci: reorder Java setup in CI workflow for improved efficiency in case of test failure

This commit is contained in:
Dr-Blank 2024-10-02 09:33:12 -04:00
parent be5eb3fd13
commit 02b6194d8f
No known key found for this signature in database
GPG key ID: 7452CC63F210A266

View file

@ -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