Skip to content

Commit

Permalink
ci: reorder Java setup in CI workflow for improved efficiency in case…
Browse files Browse the repository at this point in the history
… of test failure
  • Loading branch information
Dr-Blank committed Oct 2, 2024
1 parent be5eb3f commit 02b6194
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/flutter_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ jobs:
repository: Dr-Blank/shelfsdk
path: ./shelfsdk

- name: Set Up Java
uses: actions/[email protected]
with:
distribution: "oracle"
java-version: "17"

- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
Expand All @@ -43,6 +37,12 @@ jobs:
- name: Run tests
run: flutter test

- name: Set Up Java
uses: actions/[email protected]
with:
distribution: "oracle"
java-version: "17"

- name: Build APK
run: flutter build apk --release

Expand Down

0 comments on commit 02b6194

Please sign in to comment.